ns: use inode initializer for initial namespaces

Just use the common helper we have.

Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner
2025-09-19 11:29:49 +02:00
parent d093090ea7
commit 7cf7303211
7 changed files with 7 additions and 7 deletions

View File

@@ -68,7 +68,7 @@ struct user_namespace init_user_ns = {
.ns.__ns_ref = REFCOUNT_INIT(3),
.owner = GLOBAL_ROOT_UID,
.group = GLOBAL_ROOT_GID,
.ns.inum = PROC_USER_INIT_INO,
.ns.inum = ns_init_inum(&init_user_ns),
#ifdef CONFIG_USER_NS
.ns.ops = &userns_operations,
#endif