]> Gentwo Git Trees - linux/.git/commit
ns: simplify ns_common_init() further
authorChristian Brauner <brauner@kernel.org>
Mon, 22 Sep 2025 12:42:36 +0000 (14:42 +0200)
committerChristian Brauner <brauner@kernel.org>
Mon, 22 Sep 2025 12:47:10 +0000 (14:47 +0200)
commitd7610cb7454bbd8bf6d58f71b0ed57155d3c545f
tree4014182d87c6fd373cabe9239b7766cd951e1964
parent8535bd38b4d58a3d19bf8e7dfa66e1d8180b316a
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>
fs/namespace.c
include/linux/ns_common.h
ipc/namespace.c
kernel/cgroup/namespace.c
kernel/pid_namespace.c
kernel/time/namespace.c
kernel/user_namespace.c
kernel/utsname.c
net/core/net_namespace.c