cgroups: implement namespace tracking subsystem
[sfrench/cifs-2.6.git] / include / linux / nsproxy.h
index 033a648709b620be45ad76db17c1bfa8fe31fcf1..f1eca68751a92677a8d3aa16b85bc3ec1a351e46 100644 (file)
@@ -55,4 +55,11 @@ static inline void exit_task_namespaces(struct task_struct *p)
                put_nsproxy(ns);
        }
 }
+
+#ifdef CONFIG_CGROUP_NS
+int ns_cgroup_clone(struct task_struct *tsk);
+#else
+static inline int ns_cgroup_clone(struct task_struct *tsk) { return 0; }
+#endif
+
 #endif