commit | 7a3bb24f7c5ceebad19b12b66fd832a27a7e90df | [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 | fc1d5735096c2d0012f9a1e3235279397a7011b5 | |
parent | f3d4650015301d1c880df4523f7e7ef320a38aab [diff] |
device_cgroup: use css_has_online_children() instead of has_children() devcgroup_update_access() wants to know whether there are child cgroups which are online and visible to userland and has_children() may return false positive. Replace it with css_has_online_children(). Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: Aristeu Rozanski <aris@redhat.com> Acked-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Li Zefan <lizefan@huawei.com>