From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp02.citrix.com ([66.165.176.63]:16875 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119AbcF1SIJ (ORCPT ); Tue, 28 Jun 2016 14:08:09 -0400 From: David Vrabel To: Alexander Viro CC: David Vrabel , , , , "Boris Ostrovsky" , Juergen Gross Subject: [PATCHv3 0/2] libfs,xenfs: replace /proc/xen/xenbus with a symlink Date: Tue, 28 Jun 2016 19:06:05 +0100 Message-ID: <1467137167-28546-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. Changes in v3: - Rebased on v4.7-rc5. David