diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-09-22 14:42:36 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-22 14:47:10 +0200 |
| commit | d7610cb7454bbd8bf6d58f71b0ed57155d3c545f (patch) | |
| tree | 4014182d87c6fd373cabe9239b7766cd951e1964 /ipc/namespace.c | |
| parent | 8535bd38b4d58a3d19bf8e7dfa66e1d8180b316a (diff) | |
| download | net-d7610cb7454bbd8bf6d58f71b0ed57155d3c545f.tar.gz | |
ns: simplify ns_common_init() further
Simply derive the ns operations from the namespace type.
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'ipc/namespace.c')
| -rw-r--r-- | ipc/namespace.c | 2 |
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; |
