[RFC PATCH] touch_mnt_namespace when the mount flags change
authorDan Williams <dan.j.williams@intel.com>
Sat, 27 Sep 2008 02:01:20 +0000 (19:01 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 23 Oct 2008 09:13:23 +0000 (05:13 -0400)
commit0e55a7cca4b66f625d67b292f80b6a976e77c51b
tree5106fdf23fe0a6030ab00645bf37f19f07aadd45
parent91efc167d02509ea78abeff6d668065964c67c0b
[RFC PATCH] touch_mnt_namespace when the mount flags change

Daemons that need to be launched while the rootfs is read-only can now
poll /proc/mounts to be notified when their O_RDWR requests may no
longer end in EROFS.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/namespace.c