diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-11-10 16:08:28 +0100 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-11-11 10:01:32 +0100 |
| commit | c2bbd2db521b018c59fb0ff8e1cdfa8ee907ba88 (patch) | |
| tree | e4919cf0b92c2a564d606078f9f824aad295fdde /ipc | |
| parent | 282879afa01936954a570e15b4088a89b6e1b549 (diff) | |
| download | net-c2bbd2db521b018c59fb0ff8e1cdfa8ee907ba88.tar.gz | |
ns: drop custom reference count initialization for initial namespaces
Initial namespaces don't modify their reference count anymore.
They remain fixed at one so drop the custom refcount initializations.
Link: https://patch.msgid.link/20251110-work-namespace-nstree-fixes-v1-16-e8a9264e0fb9@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'ipc')
| -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 55a908ec0674c6..e28f0cecb2ec94 100644 --- a/ipc/msgutil.c +++ b/ipc/msgutil.c @@ -27,7 +27,7 @@ DEFINE_SPINLOCK(mq_lock); * and not CONFIG_IPC_NS. */ struct ipc_namespace init_ipc_ns = { - .ns = NS_COMMON_INIT(init_ipc_ns, 1), + .ns = NS_COMMON_INIT(init_ipc_ns), .user_ns = &init_user_ns, }; |
