]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/libfs.c
make simple_pin_fs() pass MS_KERNMOUNT - it's a kernel-internal one
[karo-tx-linux.git] / fs / libfs.c
index 7c895a763a1e6340e23488e49ea57811cd898d12..722e0d5ba182dcfc8f9a4501180b473d265799b2 100644 (file)
@@ -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);