aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/namespace.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-09-22 14:47:25 +0200
committerChristian Brauner <brauner@kernel.org>2025-09-22 14:47:25 +0200
commitd969328c513c6679b4be11a995ffd4d184c25b34 (patch)
tree9d38639cdb55dfb9753dcf2c167222dcc6063643 /ipc/namespace.c
parent7cf730321132e726ff949c6f3c0d5c598788f7a2 (diff)
parent5890f504ef543190beae2a4e244bbfa7c3e0b57c (diff)
downloadnet-d969328c513c6679b4be11a995ffd4d184c25b34.tar.gz
Merge patch series "ns: minor tweaks"
Christian Brauner <brauner@kernel.org> says: * Add a missing include into the cgroup namespace header. * Simplify ns_common_init{_inum}() and derive the namespace operations from the namespace type. * Add debug asserts into ns_common_init{_inum}() to catch bugs. * patches from https://lore.kernel.org/20250922-work-namespace-ns_common-fixes-v1-0-3c26aeb30831@kernel.org: ns: add ns_debug() ns: simplify ns_common_init() further cgroup: add missing ns_common include Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'ipc/namespace.c')
-rw-r--r--ipc/namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/namespace.c b/ipc/namespace.c
index bd85d1c9d2c213..d89dfd718d2b12 100644
--- a/ipc/namespace.c
+++ b/ipc/namespace.c
@@ -62,7 +62,7 @@ static struct ipc_namespace *create_ipc_ns(struct user_namespace *user_ns,
if (ns == NULL)
goto fail_dec;
- err = ns_common_init(ns, &ipcns_operations);
+ err = ns_common_init(ns);
if (err)
goto fail_free;