mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 17:10:13 +00:00
nstree: decouple from ns_common header
Foward declare struct ns_common and remove the include of ns_common.h. We want ns_common.h to possibly include nstree structures but not the other way around. Link: https://patch.msgid.link/20251110-work-namespace-nstree-fixes-v1-2-e8a9264e0fb9@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
2b9a0f21fb
commit
ea1549e628
@ -3,7 +3,6 @@
|
||||
#ifndef _LINUX_NSTREE_H
|
||||
#define _LINUX_NSTREE_H
|
||||
|
||||
#include <linux/ns_common.h>
|
||||
#include <linux/nsproxy.h>
|
||||
#include <linux/rbtree.h>
|
||||
#include <linux/seqlock.h>
|
||||
@ -11,6 +10,8 @@
|
||||
#include <linux/cookie.h>
|
||||
#include <uapi/linux/nsfs.h>
|
||||
|
||||
struct ns_common;
|
||||
|
||||
extern struct ns_tree cgroup_ns_tree;
|
||||
extern struct ns_tree ipc_ns_tree;
|
||||
extern struct ns_tree mnt_ns_tree;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user