diff options
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 792ad74be170..b21cf093ac62 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -182,6 +182,7 @@ struct cgroup_subsys { | |||
182 | void (*exit)(struct cgroup_subsys *ss, struct task_struct *task); | 182 | void (*exit)(struct cgroup_subsys *ss, struct task_struct *task); |
183 | int (*populate)(struct cgroup_subsys *ss, | 183 | int (*populate)(struct cgroup_subsys *ss, |
184 | struct cgroup *cont); | 184 | struct cgroup *cont); |
185 | void (*post_clone)(struct cgroup_subsys *ss, struct cgroup *cont); | ||
185 | void (*bind)(struct cgroup_subsys *ss, struct cgroup *root); | 186 | void (*bind)(struct cgroup_subsys *ss, struct cgroup *root); |
186 | int subsys_id; | 187 | int subsys_id; |
187 | int active; | 188 | int active; |
@@ -221,6 +222,8 @@ static inline struct cgroup* task_cgroup(struct task_struct *task, | |||
221 | 222 | ||
222 | int cgroup_path(const struct cgroup *cont, char *buf, int buflen); | 223 | int cgroup_path(const struct cgroup *cont, char *buf, int buflen); |
223 | 224 | ||
225 | int cgroup_clone(struct task_struct *tsk, struct cgroup_subsys *ss); | ||
226 | |||
224 | #else /* !CONFIG_CGROUPS */ | 227 | #else /* !CONFIG_CGROUPS */ |
225 | 228 | ||
226 | static inline int cgroup_init_early(void) { return 0; } | 229 | static inline int cgroup_init_early(void) { return 0; } |