diff options
author | Li Zefan <lizefan@huawei.com> | 2013-07-31 04:18:36 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-07-31 06:20:18 -0400 |
commit | 6f4b7e632d78c2d91502211c430722cc66428492 (patch) | |
tree | 51f64de7cce9b50ee120599dc976a8694c3ed8fa /include/linux/cgroup.h | |
parent | e0798ce27346edb8aa369b5b39af5a47fdf2b25c (diff) |
cgroup: more naming cleanups
Constantly use @cset for css_set variables and use @cgrp as cgroup
variables.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/cgroup.h')
-rw-r--r-- | include/linux/cgroup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 297462b9f41a..00a7e07a1567 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h | |||
@@ -394,8 +394,8 @@ struct cgroup_map_cb { | |||
394 | 394 | ||
395 | /* cftype->flags */ | 395 | /* cftype->flags */ |
396 | enum { | 396 | enum { |
397 | CFTYPE_ONLY_ON_ROOT = (1 << 0), /* only create on root cg */ | 397 | CFTYPE_ONLY_ON_ROOT = (1 << 0), /* only create on root cgrp */ |
398 | CFTYPE_NOT_ON_ROOT = (1 << 1), /* don't create on root cg */ | 398 | CFTYPE_NOT_ON_ROOT = (1 << 1), /* don't create on root cgrp */ |
399 | CFTYPE_INSANE = (1 << 2), /* don't create if sane_behavior */ | 399 | CFTYPE_INSANE = (1 << 2), /* don't create if sane_behavior */ |
400 | }; | 400 | }; |
401 | 401 | ||
@@ -513,7 +513,7 @@ struct cftype_set { | |||
513 | }; | 513 | }; |
514 | 514 | ||
515 | struct cgroup_scanner { | 515 | struct cgroup_scanner { |
516 | struct cgroup *cg; | 516 | struct cgroup *cgrp; |
517 | int (*test_task)(struct task_struct *p, struct cgroup_scanner *scan); | 517 | int (*test_task)(struct task_struct *p, struct cgroup_scanner *scan); |
518 | void (*process_task)(struct task_struct *p, | 518 | void (*process_task)(struct task_struct *p, |
519 | struct cgroup_scanner *scan); | 519 | struct cgroup_scanner *scan); |