diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-09-19 11:29:49 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-19 16:22:38 +0200 |
| commit | 7cf730321132e726ff949c6f3c0d5c598788f7a2 (patch) | |
| tree | 0009bca8ff51699122ecc9a5cae4776a2b432120 /ipc/msgutil.c | |
| parent | d093090ea79979ca7198b03bb2c31cd518b80b59 (diff) | |
| download | linux-7cf730321132e726ff949c6f3c0d5c598788f7a2.tar.gz | |
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 'ipc/msgutil.c')
| -rw-r--r-- | ipc/msgutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/msgutil.c b/ipc/msgutil.c index d0f7dcf4c20840..dca6c8ec8f5ff9 100644 --- a/ipc/msgutil.c +++ b/ipc/msgutil.c @@ -29,7 +29,7 @@ DEFINE_SPINLOCK(mq_lock); struct ipc_namespace init_ipc_ns = { .ns.__ns_ref = REFCOUNT_INIT(1), .user_ns = &init_user_ns, - .ns.inum = PROC_IPC_INIT_INO, + .ns.inum = ns_init_inum(&init_ipc_ns), #ifdef CONFIG_IPC_NS .ns.ops = &ipcns_operations, #endif |
