Commit 2452992a authored by Al Viro's avatar Al Viro

make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal one

Signed-off-by: default avatarAl Viro <>
parent ea23b453
......@@ -534,7 +534,7 @@ int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *c
if (unlikely(!*mount)) {
mnt = vfs_kern_mount(type, 0, type->name, NULL);
mnt = vfs_kern_mount(type, MS_KERNMOUNT, type->name, NULL);
if (IS_ERR(mnt))
return PTR_ERR(mnt);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment