summaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-02-05 15:30:46 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2010-03-03 20:08:00 +0100
commit8089352a13b785d4e0df63d87bd2b71c76bb9aee (patch)
treee84db2c2a5c2095091d2012c00078023b90a3490 /fs/namespace.c
parentget rid of useless vfsmount_lock use in put_mnt_ns() (diff)
downloadlinux-8089352a13b785d4e0df63d87bd2b71c76bb9aee.tar.xz
linux-8089352a13b785d4e0df63d87bd2b71c76bb9aee.zip
Mirror MS_KERNMOUNT in ->mnt_flags
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index b0b15cc2117c..ffa3843404e0 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1701,7 +1701,7 @@ int do_add_mount(struct vfsmount *newmnt, struct path *path,
{
int err;
- mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD);
+ mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD | MNT_INTERNAL);
down_write(&namespace_sem);
/* Something was mounted here while we slept */