Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ea23b453
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -534,7 +534,7 @@ int simple_pin_fs(struct file_system_type *type, struct vfsmount **mount, int *c
	spin_lock(&pin_fs_lock);
	if (unlikely(!*mount)) {
		spin_unlock(&pin_fs_lock);
		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);
		spin_lock(&pin_fs_lock);