]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
cgroup: convert cgroup_has_live_children() into css_has_online_children()
authorTejun Heo <tj@kernel.org>
Fri, 16 May 2014 17:22:52 +0000 (13:22 -0400)
committerTejun Heo <tj@kernel.org>
Fri, 16 May 2014 17:22:52 +0000 (13:22 -0400)
commitf3d4650015301d1c880df4523f7e7ef320a38aab
treeed6040e2019347e8bf9525c15db859737ecae709
parent184faf32328c65c9d86b19577b8d8b90bdd2cd2e
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>
include/linux/cgroup.h
kernel/cgroup.c