linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libfs,xenfs: replace /proc/xen/xenbus with a symlink
@ 2016-05-17 10:27 David Vrabel
  2016-05-17 10:27 ` [PATCHv1 1/2] libfs: allow simple_fill_super() to add symlinks David Vrabel
  2016-05-17 10:27 ` [PATCHv1 2/2] xenfs: replace xenbus and privcmd with symlinks David Vrabel
  0 siblings, 2 replies; 4+ messages in thread
From: David Vrabel @ 2016-05-17 10:27 UTC (permalink / raw)
  To: Alexander Viro
  Cc: David Vrabel, linux-fsdevel, linux-kernel, xen-devel,
	Boris Ostrovsky, Juergen Gross

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-10 13:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-17 10:27 libfs,xenfs: replace /proc/xen/xenbus with a symlink David Vrabel
2016-05-17 10:27 ` [PATCHv1 1/2] libfs: allow simple_fill_super() to add symlinks David Vrabel
2016-06-10 13:13   ` [Xen-devel] " David Vrabel
2016-05-17 10:27 ` [PATCHv1 2/2] xenfs: replace xenbus and privcmd with symlinks David Vrabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).