diff options
Diffstat (limited to 'kernel/cgroup.c')
-rw-r--r-- | kernel/cgroup.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 6496a83b0314..c275aa439a6f 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c | |||
@@ -3170,7 +3170,7 @@ int cgroup_rm_cftypes(struct cftype *cfts) | |||
3170 | * function currently returns 0 as long as @cfts registration is successful | 3170 | * function currently returns 0 as long as @cfts registration is successful |
3171 | * even if some file creation attempts on existing cgroups fail. | 3171 | * even if some file creation attempts on existing cgroups fail. |
3172 | */ | 3172 | */ |
3173 | int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts) | 3173 | static int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts) |
3174 | { | 3174 | { |
3175 | int ret; | 3175 | int ret; |
3176 | 3176 | ||
@@ -3195,6 +3195,11 @@ int cgroup_add_cftypes(struct cgroup_subsys *ss, struct cftype *cfts) | |||
3195 | return ret; | 3195 | return ret; |
3196 | } | 3196 | } |
3197 | 3197 | ||
3198 | int cgroup_add_legacy_cftypes(struct cgroup_subsys *ss, struct cftype *cfts) | ||
3199 | { | ||
3200 | return cgroup_add_cftypes(ss, cfts); | ||
3201 | } | ||
3202 | |||
3198 | /** | 3203 | /** |
3199 | * cgroup_task_count - count the number of tasks in a cgroup. | 3204 | * cgroup_task_count - count the number of tasks in a cgroup. |
3200 | * @cgrp: the cgroup in question | 3205 | * @cgrp: the cgroup in question |