Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf066c7d authored by Miklos Szeredi's avatar Miklos Szeredi Committed by Linus Torvalds
Browse files

[PATCH] shared mounts: cleanup



Small cleanups in shared mounts code.

Signed-off-by: default avatarMiklos Szeredi <miklos@szeredi.hu>
Cc: Ram Pai <linuxram@us.ibm.com>
Cc: <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4a0d11fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -103,11 +103,11 @@ extern int dir_notify_enable;
#define MS_MOVE		8192
#define MS_MOVE		8192
#define MS_REC		16384
#define MS_REC		16384
#define MS_VERBOSE	32768
#define MS_VERBOSE	32768
#define MS_POSIXACL	(1<<16)	/* VFS does not apply the umask */
#define MS_UNBINDABLE	(1<<17)	/* change to unbindable */
#define MS_UNBINDABLE	(1<<17)	/* change to unbindable */
#define MS_PRIVATE	(1<<18)	/* change to private */
#define MS_PRIVATE	(1<<18)	/* change to private */
#define MS_SLAVE	(1<<19)	/* change to slave */
#define MS_SLAVE	(1<<19)	/* change to slave */
#define MS_SHARED	(1<<20)	/* change to shared */
#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_ACTIVE	(1<<30)
#define MS_NOUSER	(1<<31)
#define MS_NOUSER	(1<<31)


+2 −1
Original line number Original line Diff line number Diff line
@@ -22,7 +22,8 @@
#define MNT_NOEXEC	0x04
#define MNT_NOEXEC	0x04
#define MNT_SHARED	0x10	/* if the vfsmount is a shared mount */
#define MNT_SHARED	0x10	/* if the vfsmount is a shared mount */
#define MNT_UNBINDABLE	0x20	/* if the vfsmount is a unbindable mount */
#define MNT_UNBINDABLE	0x20	/* if the vfsmount is a unbindable mount */
#define MNT_PNODE_MASK	0x30	/* propogation flag mask */

#define MNT_PNODE_MASK	(MNT_SHARED | MNT_UNBINDABLE)


struct vfsmount {
struct vfsmount {
	struct list_head mnt_hash;
	struct list_head mnt_hash;
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.