aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-09-22 14:42:35 +0200
committerChristian Brauner <brauner@kernel.org>2025-09-22 14:47:10 +0200
commit8535bd38b4d58a3d19bf8e7dfa66e1d8180b316a (patch)
tree617fc2a984fc371f840f64d0d0a572203defd425 /include
parentns: use inode initializer for initial namespaces (diff)
downloadlinux-8535bd38b4d58a3d19bf8e7dfa66e1d8180b316a.tar.gz
linux-8535bd38b4d58a3d19bf8e7dfa66e1d8180b316a.zip
cgroup: add missing ns_common include
Add the missing include of the ns_common header. Acked-by: Tejun Heo <tj@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cgroup_namespace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cgroup_namespace.h b/include/linux/cgroup_namespace.h
index b7dbf4d623d2..81ccbdee425b 100644
--- a/include/linux/cgroup_namespace.h
+++ b/include/linux/cgroup_namespace.h
@@ -2,6 +2,8 @@
#ifndef _LINUX_CGROUP_NAMESPACE_H
#define _LINUX_CGROUP_NAMESPACE_H
+#include <linux/ns_common.h>
+
struct cgroup_namespace {
struct ns_common ns;
struct user_namespace *user_ns;