summaryrefslogtreecommitdiff
path: root/kernel/cgroup
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-09-19 11:29:49 +0200
committerChristian Brauner <brauner@kernel.org>2025-09-19 16:22:38 +0200
commit7cf730321132e726ff949c6f3c0d5c598788f7a2 (patch)
tree0009bca8ff51699122ecc9a5cae4776a2b432120 /kernel/cgroup
parentd093090ea79979ca7198b03bb2c31cd518b80b59 (diff)
downloadlinux-next-7cf730321132e726ff949c6f3c0d5c598788f7a2.tar.gz
linux-next-7cf730321132e726ff949c6f3c0d5c598788f7a2.zip
ns: use inode initializer for initial namespaces
Just use the common helper we have. Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel/cgroup')
-rw-r--r--kernel/cgroup/cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c
index a0e24adceef0..245b43ff2fa4 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -222,7 +222,7 @@ struct cgroup_namespace init_cgroup_ns = {
.ns.__ns_ref = REFCOUNT_INIT(2),
.user_ns = &init_user_ns,
.ns.ops = &cgroupns_operations,
- .ns.inum = PROC_CGROUP_INIT_INO,
+ .ns.inum = ns_init_inum(&init_cgroup_ns),
.root_cset = &init_css_set,
};