]> Gentwo Git Trees - linux/.git/commit
ns: add asserts for initial namespace reference counts
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Nov 2025 15:08:25 +0000 (16:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 11 Nov 2025 09:01:31 +0000 (10:01 +0100)
commit2b60d56acc5b4fcab29fc323e6b82597ec78596f
tree32b4faef78383006f70071e63972f9a2c3763bcb
parent657aeb436d70c66583cb2b5b6c65ca64bcf503a8
ns: add asserts for initial namespace reference counts

They always remain fixed at one. Notice when that assumptions is broken.

Link: https://patch.msgid.link/20251110-work-namespace-nstree-fixes-v1-13-e8a9264e0fb9@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
include/linux/ns_common.h