Loading arch/x86/kernel/cpu/resctrl/rdtgroup.c +1 −2 Original line number Diff line number Diff line Loading @@ -2108,7 +2108,6 @@ static int rdt_init_fs_context(struct fs_context *fc) ctx->kfc.magic = RDTGROUP_SUPER_MAGIC; fc->fs_private = &ctx->kfc; fc->ops = &rdt_fs_context_ops; if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(&init_user_ns); fc->global = true; Loading fs/sysfs/mount.c +1 −2 Original line number Diff line number Diff line Loading @@ -72,7 +72,6 @@ static int sysfs_init_fs_context(struct fs_context *fc) fc->fs_private = kfc; fc->ops = &sysfs_fs_context_ops; if (netns) { if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(netns->user_ns); } Loading kernel/cgroup/cgroup.c +1 −2 Original line number Diff line number Diff line Loading @@ -2184,7 +2184,6 @@ static int cgroup_init_fs_context(struct fs_context *fc) fc->ops = &cgroup_fs_context_ops; else fc->ops = &cgroup1_fs_context_ops; if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(ctx->ns->user_ns); fc->global = true; Loading Loading
arch/x86/kernel/cpu/resctrl/rdtgroup.c +1 −2 Original line number Diff line number Diff line Loading @@ -2108,7 +2108,6 @@ static int rdt_init_fs_context(struct fs_context *fc) ctx->kfc.magic = RDTGROUP_SUPER_MAGIC; fc->fs_private = &ctx->kfc; fc->ops = &rdt_fs_context_ops; if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(&init_user_ns); fc->global = true; Loading
fs/sysfs/mount.c +1 −2 Original line number Diff line number Diff line Loading @@ -72,7 +72,6 @@ static int sysfs_init_fs_context(struct fs_context *fc) fc->fs_private = kfc; fc->ops = &sysfs_fs_context_ops; if (netns) { if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(netns->user_ns); } Loading
kernel/cgroup/cgroup.c +1 −2 Original line number Diff line number Diff line Loading @@ -2184,7 +2184,6 @@ static int cgroup_init_fs_context(struct fs_context *fc) fc->ops = &cgroup_fs_context_ops; else fc->ops = &cgroup1_fs_context_ops; if (fc->user_ns) put_user_ns(fc->user_ns); fc->user_ns = get_user_ns(ctx->ns->user_ns); fc->global = true; Loading