Lines Matching refs:fc
26 static int sysfs_get_tree(struct fs_context *fc)
28 struct kernfs_fs_context *kfc = fc->fs_private;
31 ret = kernfs_get_tree(fc);
36 fc->root->d_sb->s_iflags |= SB_I_USERNS_VISIBLE;
40 static void sysfs_fs_context_free(struct fs_context *fc)
42 struct kernfs_fs_context *kfc = fc->fs_private;
46 kernfs_free_fs_context(fc);
55 static int sysfs_init_fs_context(struct fs_context *fc)
60 if (!(fc->sb_flags & SB_KERNMOUNT)) {
72 fc->fs_private = kfc;
73 fc->ops = &sysfs_fs_context_ops;
75 put_user_ns(fc->user_ns);
76 fc->user_ns = get_user_ns(netns->user_ns);
78 fc->global = true;