arm64: dts: rockchip: add u2phy0 and u2phy0_otg node for rk3399
[firefly-linux-kernel-4.4.55.git] / kernel / bpf / inode.c
index d1a7646f79c5a165b3faba4beee1371e7a37cf38..cb85d228b1acd6cfabf06aa742cb2306bd05bb69 100644 (file)
@@ -358,7 +358,7 @@ static int bpf_fill_super(struct super_block *sb, void *data, int silent)
 static struct dentry *bpf_mount(struct file_system_type *type, int flags,
                                const char *dev_name, void *data)
 {
-       return mount_ns(type, flags, current->nsproxy->mnt_ns, bpf_fill_super);
+       return mount_nodev(type, flags, data, bpf_fill_super);
 }
 
 static struct file_system_type bpf_fs_type = {
@@ -366,7 +366,6 @@ static struct file_system_type bpf_fs_type = {
        .name           = "bpf",
        .mount          = bpf_mount,
        .kill_sb        = kill_litter_super,
-       .fs_flags       = FS_USERNS_MOUNT,
 };
 
 MODULE_ALIAS_FS("bpf");