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>
This commit is contained in:
parent
073219e995
commit
aec25020f5
2 changed files with 12 additions and 12 deletions
|
@ -548,7 +548,7 @@ int cgroup_taskset_size(struct cgroup_taskset *tset);
|
|||
(task) = cgroup_taskset_next((tset))) \
|
||||
if (!(skip_css) || \
|
||||
cgroup_taskset_cur_css((tset), \
|
||||
(skip_css)->ss->subsys_id) != (skip_css))
|
||||
(skip_css)->ss->id) != (skip_css))
|
||||
|
||||
/*
|
||||
* Control Group subsystem type.
|
||||
|
@ -592,7 +592,7 @@ struct cgroup_subsys {
|
|||
bool warned_broken_hierarchy;
|
||||
|
||||
/* the following two fields are initialized automtically during boot */
|
||||
int subsys_id;
|
||||
int id;
|
||||
#define MAX_CGROUP_TYPE_NAMELEN 32
|
||||
const char *name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue