aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/bpf/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bpf/inode.c b/kernel/bpf/inode.c
index 71b75d9c81da..04be7021f848 100644
--- a/kernel/bpf/inode.c
+++ b/kernel/bpf/inode.c
@@ -357,7 +357,7 @@ static int bpf_fill_super(struct super_block *sb, void *data, int silent)
357static struct dentry *bpf_mount(struct file_system_type *type, int flags, 357static struct dentry *bpf_mount(struct file_system_type *type, int flags,
358 const char *dev_name, void *data) 358 const char *dev_name, void *data)
359{ 359{
360 return mount_ns(type, flags, current->nsproxy->mnt_ns, bpf_fill_super); 360 return mount_nodev(type, flags, data, bpf_fill_super);
361} 361}
362 362
363static struct file_system_type bpf_fs_type = { 363static struct file_system_type bpf_fs_type = {