aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/kernfs/mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/kernfs/mount.c b/fs/kernfs/mount.c
index 26dd9a50f383..ff2716f9322e 100644
--- a/fs/kernfs/mount.c
+++ b/fs/kernfs/mount.c
@@ -316,6 +316,7 @@ struct dentry *kernfs_mount_ns(struct file_system_type *fs_type, int flags,
316 316
317 info->root = root; 317 info->root = root;
318 info->ns = ns; 318 info->ns = ns;
319 INIT_LIST_HEAD(&info->node);
319 320
320 sb = sget_userns(fs_type, kernfs_test_super, kernfs_set_super, flags, 321 sb = sget_userns(fs_type, kernfs_test_super, kernfs_set_super, flags,
321 &init_user_ns, info); 322 &init_user_ns, info);