commit | 1c6727af4b495a9ec74c46d1fc08e508e675899d | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri Dec 06 15:11:56 2013 -0500 |
committer | Tejun Heo <tj@kernel.org> | Fri Dec 06 15:11:56 2013 -0500 |
tree | 83031295e5dc2d7fab009cd1ae5eb155c116bd72 | |
parent | c81c925ad9b0460a14ec35b52c61158da0733d51 [diff] |
cgroup: implement for_each_css() There are enough places where css's of a cgroup are iterated, which currently uses for_each_root_subsys() + explicit cgroup_css(). This patch implements for_each_css() and replaces the above combination with it. This patch doesn't introduce any behavior changes. v2: Updated to apply cleanly on top of v2 of "cgroup: fix css leaks on online_css() failure" Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>