diff --git a/[refs] b/[refs] index cd570cea70b2..fcb75cb5a480 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7e1295d9f8300e8c8d1af01765f475621c19ee1d +refs/heads/master: 27d55f1f4c190b14092fcca3069c7d15df83514f diff --git a/trunk/fs/namespace.c b/trunk/fs/namespace.c index 779293e29b85..c768f733c8d6 100644 --- a/trunk/fs/namespace.c +++ b/trunk/fs/namespace.c @@ -1671,6 +1671,8 @@ int do_add_mount(struct vfsmount *newmnt, struct path *path, { int err; + mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD); + down_write(&namespace_sem); /* Something was mounted here while we slept */ while (d_mountpoint(path->dentry) &&