diff options
Diffstat (limited to 'include/linux/nsproxy.h')
-rw-r--r-- | include/linux/nsproxy.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h index 033a648709b6..f1eca68751a9 100644 --- a/include/linux/nsproxy.h +++ b/include/linux/nsproxy.h | |||
@@ -55,4 +55,11 @@ static inline void exit_task_namespaces(struct task_struct *p) | |||
55 | put_nsproxy(ns); | 55 | put_nsproxy(ns); |
56 | } | 56 | } |
57 | } | 57 | } |
58 | |||
59 | #ifdef CONFIG_CGROUP_NS | ||
60 | int ns_cgroup_clone(struct task_struct *tsk); | ||
61 | #else | ||
62 | static inline int ns_cgroup_clone(struct task_struct *tsk) { return 0; } | ||
63 | #endif | ||
64 | |||
58 | #endif | 65 | #endif |