summaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorLi Zefan <lizefan@huawei.com>2013-06-14 11:17:19 +0800
committerTejun Heo <tj@kernel.org>2013-06-19 01:22:50 -0700
commit03c78cbebb323fc97295ff97dc5e009d56371d57 (patch)
treed6df12606b2eedc81f2da4ce0e3f9e9856ac338b /include/linux/cgroup.h
parent00356bd5f0f5e04183fb15805eb29e97c2fc20ac (diff)
downloadop-kernel-dev-03c78cbebb323fc97295ff97dc5e009d56371d57.zip
op-kernel-dev-03c78cbebb323fc97295ff97dc5e009d56371d57.tar.gz
cgroup: rename cont to cgrp
Cont is short for container. control group was named process container at first, but then people found container already has a meaning in linux kernel. Clean up the leftover variable name @cont. 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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index b283658..6c2ba52 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -433,13 +433,13 @@ struct cftype {
* entry. The key/value pairs (and their ordering) should not
* change between reboots.
*/
- int (*read_map)(struct cgroup *cont, struct cftype *cft,
+ int (*read_map)(struct cgroup *cgrp, struct cftype *cft,
struct cgroup_map_cb *cb);
/*
* read_seq_string() is used for outputting a simple sequence
* using seqfile.
*/
- int (*read_seq_string)(struct cgroup *cont, struct cftype *cft,
+ int (*read_seq_string)(struct cgroup *cgrp, struct cftype *cft,
struct seq_file *m);
ssize_t (*write)(struct cgroup *cgrp, struct cftype *cft,
OpenPOWER on IntegriCloud