commit | f3d4650015301d1c880df4523f7e7ef320a38aab | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri May 16 13:22:52 2014 -0400 |
committer | Tejun Heo <tj@kernel.org> | Fri May 16 13:22:52 2014 -0400 |
tree | ed6040e2019347e8bf9525c15db859737ecae709 | |
parent | 184faf32328c65c9d86b19577b8d8b90bdd2cd2e [diff] |
cgroup: convert cgroup_has_live_children() into css_has_online_children() Now that cgroup liveliness and css onliness are the same state, convert cgroup_has_live_children() into css_has_online_children() so that it can be used for actual csses too. The function now uses css_for_each_child() for iteration and is published. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Li Zefan <lizefan@huawei.com>