summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2013-04-12 10:29:04 -0700
committerTejun Heo <tj@kernel.org>2013-04-12 10:29:04 -0700
commit26d5bbe5ba2073fc7ef9e69a55543b2376f5bad0 (patch)
treed4dcfdec4d3046bb3cee35864264669d44a3a3dc /include
parentef824fa129b7579f56b92d466ecda2e378879806 (diff)
Revert "cgroup: remove bind() method from cgroup_subsys."
This reverts commit 84cfb6ab484b442d5115eb3baf9db7d74a3ea626. There are scheduled changes which make use of the removed callback. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Rami Rosen <ramirose@gmail.com> Cc: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/cgroup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index a2b9d4b1336..45aee0fc6b9 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -484,6 +484,8 @@ struct cgroup_subsys {
void (*fork)(struct task_struct *task);
void (*exit)(struct cgroup *cgrp, struct cgroup *old_cgrp,
struct task_struct *task);
+ void (*bind)(struct cgroup *root);
+
int subsys_id;
int active;
int disabled;