do_add_mount() should sanitize mnt_flags

MNT_WRITE_HOLD shouldn't leak into new vfsmount and neither
should MNT_SHARED (the latter will be set properly, along with
the rest of shared-subtree data structures)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro 27d55f1f 7e1295d9

+2
+2
fs/namespace.c
··· 1671 { 1672 int err; 1673 1674 down_write(&namespace_sem); 1675 /* Something was mounted here while we slept */ 1676 while (d_mountpoint(path->dentry) &&
··· 1671 { 1672 int err; 1673 1674 + mnt_flags &= ~(MNT_SHARED | MNT_WRITE_HOLD); 1675 + 1676 down_write(&namespace_sem); 1677 /* Something was mounted here while we slept */ 1678 while (d_mountpoint(path->dentry) &&