diff options
author | Tejun Heo <tj@kernel.org> | 2013-08-13 11:01:55 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2013-08-13 11:01:55 -0400 |
commit | 623f926b050e12b0f5e3a2f4d11c36e4ddd63541 (patch) | |
tree | da5df0064e57432decbe0bf93d01fde2fe013c40 /fs/char_dev.c | |
parent | 73e80ed8007fc48a6deeb295ba37159fad274bd2 (diff) | |
download | linux-623f926b050e12b0f5e3a2f4d11c36e4ddd63541.tar.bz2 |
cgroup: reorganize css init / exit paths
css (cgroup_subsys_state) lifetime management is about to be
restructured. In prepartion, make the following mostly trivial
changes.
* init_cgroup_css() is renamed to init_css() so that it's consistent
with other css handling functions.
* alloc_css_id(), online_css() and offline_css() updated to take @css
instead of cgroups and subsys IDs.
This patch doesn't make any functional changes.
v2: v1 merged two for_each_root_subsys() loops in cgroup_create() but
Li Zefan pointed out that it breaks error path. Dropped.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'fs/char_dev.c')
0 files changed, 0 insertions, 0 deletions