diff options
-rw-r--r-- | fs/namespace.c | 2 | ||||
-rw-r--r-- | fs/pnode.c | 2 | ||||
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/mount.h | 3 |
4 files changed, 5 insertions, 4 deletions
diff --git a/fs/namespace.c b/fs/namespace.c index e5aa1eeb5748..3e8fb61ad597 100644 --- a/fs/namespace.c +++ b/fs/namespace.c | |||
@@ -451,7 +451,7 @@ EXPORT_SYMBOL(may_umount); | |||
451 | void release_mounts(struct list_head *head) | 451 | void release_mounts(struct list_head *head) |
452 | { | 452 | { |
453 | struct vfsmount *mnt; | 453 | struct vfsmount *mnt; |
454 | while(!list_empty(head)) { | 454 | while (!list_empty(head)) { |
455 | mnt = list_entry(head->next, struct vfsmount, mnt_hash); | 455 | mnt = list_entry(head->next, struct vfsmount, mnt_hash); |
456 | list_del_init(&mnt->mnt_hash); | 456 | list_del_init(&mnt->mnt_hash); |
457 | if (mnt->mnt_parent != mnt) { | 457 | if (mnt->mnt_parent != mnt) { |
diff --git a/fs/pnode.c b/fs/pnode.c index aeeec8ba8dd2..f1871f773f64 100644 --- a/fs/pnode.c +++ b/fs/pnode.c | |||
@@ -103,7 +103,7 @@ static struct vfsmount *propagation_next(struct vfsmount *m, | |||
103 | struct vfsmount *next; | 103 | struct vfsmount *next; |
104 | struct vfsmount *master = m->mnt_master; | 104 | struct vfsmount *master = m->mnt_master; |
105 | 105 | ||
106 | if ( master == origin->mnt_master ) { | 106 | if (master == origin->mnt_master) { |
107 | next = next_peer(m); | 107 | next = next_peer(m); |
108 | return ((next == origin) ? NULL : next); | 108 | return ((next == origin) ? NULL : next); |
109 | } else if (m->mnt_slave.next != &master->mnt_slave_list) | 109 | } else if (m->mnt_slave.next != &master->mnt_slave_list) |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 7f140480c6a8..a1e28f0895c0 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -103,11 +103,11 @@ extern int dir_notify_enable; | |||
103 | #define MS_MOVE 8192 | 103 | #define MS_MOVE 8192 |
104 | #define MS_REC 16384 | 104 | #define MS_REC 16384 |
105 | #define MS_VERBOSE 32768 | 105 | #define MS_VERBOSE 32768 |
106 | #define MS_POSIXACL (1<<16) /* VFS does not apply the umask */ | ||
106 | #define MS_UNBINDABLE (1<<17) /* change to unbindable */ | 107 | #define MS_UNBINDABLE (1<<17) /* change to unbindable */ |
107 | #define MS_PRIVATE (1<<18) /* change to private */ | 108 | #define MS_PRIVATE (1<<18) /* change to private */ |
108 | #define MS_SLAVE (1<<19) /* change to slave */ | 109 | #define MS_SLAVE (1<<19) /* change to slave */ |
109 | #define MS_SHARED (1<<20) /* change to shared */ | 110 | #define MS_SHARED (1<<20) /* change to shared */ |
110 | #define MS_POSIXACL (1<<16) /* VFS does not apply the umask */ | ||
111 | #define MS_ACTIVE (1<<30) | 111 | #define MS_ACTIVE (1<<30) |
112 | #define MS_NOUSER (1<<31) | 112 | #define MS_NOUSER (1<<31) |
113 | 113 | ||
diff --git a/include/linux/mount.h b/include/linux/mount.h index dd4e83eba933..b98a709f1794 100644 --- a/include/linux/mount.h +++ b/include/linux/mount.h | |||
@@ -22,7 +22,8 @@ | |||
22 | #define MNT_NOEXEC 0x04 | 22 | #define MNT_NOEXEC 0x04 |
23 | #define MNT_SHARED 0x10 /* if the vfsmount is a shared mount */ | 23 | #define MNT_SHARED 0x10 /* if the vfsmount is a shared mount */ |
24 | #define MNT_UNBINDABLE 0x20 /* if the vfsmount is a unbindable mount */ | 24 | #define MNT_UNBINDABLE 0x20 /* if the vfsmount is a unbindable mount */ |
25 | #define MNT_PNODE_MASK 0x30 /* propogation flag mask */ | 25 | |
26 | #define MNT_PNODE_MASK (MNT_SHARED | MNT_UNBINDABLE) | ||
26 | 27 | ||
27 | struct vfsmount { | 28 | struct vfsmount { |
28 | struct list_head mnt_hash; | 29 | struct list_head mnt_hash; |