VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Christian Brauner <christian@brauner.io> 2019-06-17 23:22:14 +0200 committer: Al Viro <viro@zeniv.linux.org.uk> 2019-06-17 17:36:09 -0400 commit: d728cf79164bb38e9628d15276e636539f857ef1 parent: 1b0b9cc8d3793e31b313e6c9685513b08cd883c4
Commit Summary:
fs/namespace: fix unprivileged mount propagation
Diffstat:
1 file changed, 0 insertions, 1 deletion
diff --git a/fs/pnode.c b/fs/pnode.c
index 595857a1883e..49f6d7ff2139 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -261,7 +261,6 @@ static int propagate_one(struct mount *m)
 	child = copy_tree(last_source, last_source->mnt.mnt_root, type);
 	if (IS_ERR(child))
 		return PTR_ERR(child);
-	child->mnt.mnt_flags &= ~MNT_LOCKED;
 	mnt_set_mountpoint(m, mp, child);
 	last_dest = m;
 	last_source = child;