diff options
| author | Christian Brauner <brauner@kernel.org> | 2025-09-24 13:33:58 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2025-09-25 09:23:47 +0200 |
| commit | 10cdfcd37ade7ce736bc4a1927680f390a6b1f7b (patch) | |
| tree | f2d783d2241871b41ccd49aec0dd4e7eb91b72d3 /include/linux | |
| parent | d969328c513c6679b4be11a995ffd4d184c25b34 (diff) | |
nstree: make struct ns_tree private
Don't expose it directly. There's no need to do that.
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nstree.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/nstree.h b/include/linux/nstree.h index 29ad6402260c..8b8636690473 100644 --- a/include/linux/nstree.h +++ b/include/linux/nstree.h @@ -9,19 +9,6 @@ #include <linux/rculist.h> #include <linux/cookie.h> -/** - * struct ns_tree - Namespace tree - * @ns_tree: Rbtree of namespaces of a particular type - * @ns_list: Sequentially walkable list of all namespaces of this type - * @ns_tree_lock: Seqlock to protect the tree and list - */ -struct ns_tree { - struct rb_root ns_tree; - struct list_head ns_list; - seqlock_t ns_tree_lock; - int type; -}; - extern struct ns_tree cgroup_ns_tree; extern struct ns_tree ipc_ns_tree; extern struct ns_tree mnt_ns_tree; |
