From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756056AbcEQK1k (ORCPT ); Tue, 17 May 2016 06:27:40 -0400 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 X-IronPort-AV: E=Sophos;i="5.26,324,1459814400"; d="scan'208";a="361477428" 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> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Content-Type: text/plain X-DLP: MIA2 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. David