]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pid: rely on common reference count behavior
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Nov 2025 15:08:27 +0000 (16:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 11 Nov 2025 09:01:32 +0000 (10:01 +0100)
commit282879afa01936954a570e15b4088a89b6e1b549
treee732561b9729da7f906f4f8040448c12b321475a
parent7118daabb65585163fd70eb782f1fbbdb64968a6
pid: rely on common reference count behavior

Now that we changed the generic reference counting mechanism for all
namespaces to never manipulate reference counts of initial namespaces we
can drop the special handling for pid namespaces.

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