]> Gentwo Git Trees - linux/.git/commit
nstree: add helper to operate on struct ns_tree_{node,root}
authorChristian Brauner <brauner@kernel.org>
Mon, 10 Nov 2025 15:08:16 +0000 (16:08 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 11 Nov 2025 09:01:30 +0000 (10:01 +0100)
commitd12ea8062fd31f02beeeb76a7884ab9bc4f5b197
tree3702fe5e2f8a0933b3291bfbd6c76c2f0da2e61f
parent1c64fb02ac46f5ca93ac9f5470f124921b4713b7
nstree: add helper to operate on struct ns_tree_{node,root}

Add helpers that work on the combined rbtree and rculist combined.
This will make the code a lot more managable and legible.

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