diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-29 09:59:55 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-29 17:06:07 +0200 |
commit | 3ff31d0cca38b3c20e88a022bf38c4f7c98492f0 (patch) | |
tree | ba4a68df5c634cd09593cc2e95eb6dd9ea4e1011 /kernel/ns_cgroup.c | |
parent | cgroup: fix sparse warning of shadow symbol in cgroup.c (diff) | |
download | linux-3ff31d0cca38b3c20e88a022bf38c4f7c98492f0.tar.xz linux-3ff31d0cca38b3c20e88a022bf38c4f7c98492f0.zip |
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 '')
-rw-r--r-- | kernel/ns_cgroup.c | 1 |
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 @@ #include <linux/cgroup.h> #include <linux/fs.h> #include <linux/slab.h> +#include <linux/nsproxy.h> struct ns_cgroup { struct cgroup_subsys_state css; |