]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ns: add NS_COMMON_INIT()
authorChristian Brauner <brauner@kernel.org>
Mon, 3 Nov 2025 15:10:10 +0000 (16:10 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:02:49 +0000 (14:02 +0100)
commitad804f43873aa290dbe7463454359b256b414e49
treea4a070573fbecb9ff764afd6a349d05fcd2c9654
parent6a6f1e983edc7229499e8f7d0ba19e497d6fdadc
ns: add NS_COMMON_INIT()

[ Upstream commit d915fe20e5cba4bd50e41e792a32dcddc7490e25 ]

Add an initializer that can be used for the ns common initialization for
static namespace such as most init namespaces.

Suggested-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://patch.msgid.link/87ecqhy2y5.ffs@tglx
Signed-off-by: Christian Brauner <brauner@kernel.org>
Stable-dep-of: 3dd50c58664e ("ns: initialize ns_list_node for initial namespaces")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/ns_common.h