[PATCH] introduce shared mounts
This creates shared mounts. A shared mount when bind-mounted to some mountpoint, propagates mount/umount events to each other. All the shared mounts that propagate events to each other belong to the same peer-group. Signed-off-by: Ram Pai <linuxram@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
07b20889e3
commit
03e06e68ff
5 changed files with 21 additions and 2 deletions
|
@ -105,6 +105,7 @@ extern int dir_notify_enable;
|
|||
#define MS_REC 16384
|
||||
#define MS_VERBOSE 32768
|
||||
#define MS_PRIVATE (1<<18) /* change to private */
|
||||
#define MS_SHARED (1<<20) /* change to shared */
|
||||
#define MS_POSIXACL (1<<16) /* VFS does not apply the umask */
|
||||
#define MS_ACTIVE (1<<30)
|
||||
#define MS_NOUSER (1<<31)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue