From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752257AbcF1SLw (ORCPT ); Tue, 28 Jun 2016 14:11:52 -0400 Received: from smtp02.citrix.com ([66.165.176.63]:52488 "EHLO SMTP02.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752023AbcF1SLu (ORCPT ); Tue, 28 Jun 2016 14:11:50 -0400 X-IronPort-AV: E=Sophos;i="5.26,542,1459814400"; d="scan'208";a="370188215" 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> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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