|
@@ -1795,9 +1795,7 @@ struct vfsmount *clone_private_mount(struct path *path)
|
|
if (IS_MNT_UNBINDABLE(old_mnt))
|
|
if (IS_MNT_UNBINDABLE(old_mnt))
|
|
return ERR_PTR(-EINVAL);
|
|
return ERR_PTR(-EINVAL);
|
|
|
|
|
|
- down_read(&namespace_sem);
|
|
|
|
new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE);
|
|
new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE);
|
|
- up_read(&namespace_sem);
|
|
|
|
if (IS_ERR(new_mnt))
|
|
if (IS_ERR(new_mnt))
|
|
return ERR_CAST(new_mnt);
|
|
return ERR_CAST(new_mnt);
|
|
|
|
|