diff --git a/fs/namespace.c b/fs/namespace.c index a1a04dd1ebfc403a11765dba590eedc34535d21a..ec726ae0057946a1554137fc1f4489b8e47e1462 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -1795,9 +1795,7 @@ struct vfsmount *clone_private_mount(struct path *path) if (IS_MNT_UNBINDABLE(old_mnt)) return ERR_PTR(-EINVAL); - down_read(&namespace_sem); new_mnt = clone_mnt(old_mnt, path->dentry, CL_PRIVATE); - up_read(&namespace_sem); if (IS_ERR(new_mnt)) return ERR_CAST(new_mnt);