aboutsummaryrefslogtreecommitdiffstats
path: root/fs/namespace.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/namespace.c')
-rw-r--r--fs/namespace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/namespace.c b/fs/namespace.c
index 5dc137a22d40..7660c2749c96 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -2105,6 +2105,7 @@ static int attach_recursive_mnt(struct mount *source_mnt,
2105 /* Notice when we are propagating across user namespaces */ 2105 /* Notice when we are propagating across user namespaces */
2106 if (child->mnt_parent->mnt_ns->user_ns != user_ns) 2106 if (child->mnt_parent->mnt_ns->user_ns != user_ns)
2107 lock_mnt_tree(child); 2107 lock_mnt_tree(child);
2108 child->mnt.mnt_flags &= ~MNT_LOCKED;
2108 commit_tree(child); 2109 commit_tree(child);
2109 } 2110 }
2110 put_mountpoint(smp); 2111 put_mountpoint(smp);