Return-Path: Received: from smtp02.citrix.com ([66.165.176.63]:50593 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755408AbcEQK1j (ORCPT ); Tue, 17 May 2016 06:27:39 -0400 From: David Vrabel To: Alexander Viro CC: David Vrabel , , , , "Boris Ostrovsky" , Juergen Gross Subject: libfs,xenfs: replace /proc/xen/xenbus with a symlink Date: Tue, 17 May 2016 11:27:21 +0100 Message-ID: <1463480843-3860-1-git-send-email-david.vrabel@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Using /proc/xen/xenbus can cause deadlocks on the atomic file position mutex since this file should behave like a character device and not a regular file. This is easiest to achive by making it a symlink to the existing /dev/xen/xenbus device. This requires extending simple_fill_super() to add symlinks as well as regular files. David