aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/cgroup.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2014-02-08 10:36:58 -0500
committerTejun Heo <tj@kernel.org>2014-02-08 10:36:58 -0500
commitaec25020f5d4b69aea5317551d1cb7043f6b04fb (patch)
treeed9c89b1468542a9d5be6f20af24db8d6251c90b /include/linux/cgroup.h
parent073219e995b4a3f8cf1ce8228b7ef440b6994ac0 (diff)
cgroup: rename cgroup_subsys->subsys_id to ->id
It's no longer referenced outside cgroup core, so renaming is easy. Let's rename it for consistency & brevity. This patch is pure rename. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>
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 cd6611e622fd..198c7fcd727e 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -548,7 +548,7 @@ int cgroup_taskset_size(struct cgroup_taskset *tset);
548 (task) = cgroup_taskset_next((tset))) \ 548 (task) = cgroup_taskset_next((tset))) \
549 if (!(skip_css) || \ 549 if (!(skip_css) || \
550 cgroup_taskset_cur_css((tset), \ 550 cgroup_taskset_cur_css((tset), \
551 (skip_css)->ss->subsys_id) != (skip_css)) 551 (skip_css)->ss->id) != (skip_css))
552 552
553/* 553/*
554 * Control Group subsystem type. 554 * Control Group subsystem type.
@@ -592,7 +592,7 @@ struct cgroup_subsys {
592 bool warned_broken_hierarchy; 592 bool warned_broken_hierarchy;
593 593
594 /* the following two fields are initialized automtically during boot */ 594 /* the following two fields are initialized automtically during boot */
595 int subsys_id; 595 int id;
596#define MAX_CGROUP_TYPE_NAMELEN 32 596#define MAX_CGROUP_TYPE_NAMELEN 32
597 const char *name; 597 const char *name;
598 598