diff options
author | Tejun Heo <tj@kernel.org> | 2014-05-16 19:22:52 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-05-16 19:22:52 +0200 |
commit | f3d4650015301d1c880df4523f7e7ef320a38aab (patch) | |
tree | ed6040e2019347e8bf9525c15db859737ecae709 /security/device_cgroup.c | |
parent | cgroup: use CSS_ONLINE instead of CGRP_DEAD (diff) | |
download | linux-f3d4650015301d1c880df4523f7e7ef320a38aab.tar.xz linux-f3d4650015301d1c880df4523f7e7ef320a38aab.zip |
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>
Diffstat (limited to 'security/device_cgroup.c')
0 files changed, 0 insertions, 0 deletions