aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 03:59:55 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 11:06:07 -0400
commit3ff31d0cca38b3c20e88a022bf38c4f7c98492f0 (patch)
treeba4a68df5c634cd09593cc2e95eb6dd9ea4e1011 /kernel
parent4fe91d518e4958af7edebbeb112a3272b2be232d (diff)
cgroups: kernel/ns_cgroup.c should #include <linux/nsproxy.h>
Every file should include the headers containing the externs its global functions (in this case for ns_cgroup_clone()). Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Serge Hallyn <serue@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/ns_cgroup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/ns_cgroup.c b/kernel/ns_cgroup.c
index 18df038d7cd5..48d7ed6fc3a4 100644
--- a/kernel/ns_cgroup.c
+++ b/kernel/ns_cgroup.c
@@ -8,6 +8,7 @@
8#include <linux/cgroup.h> 8#include <linux/cgroup.h>
9#include <linux/fs.h> 9#include <linux/fs.h>
10#include <linux/slab.h> 10#include <linux/slab.h>
11#include <linux/nsproxy.h>
11 12
12struct ns_cgroup { 13struct ns_cgroup {
13 struct cgroup_subsys_state css; 14 struct cgroup_subsys_state css;