diff options
author | Li Zefan <lizefan@huawei.com> | 2014-06-12 02:31:31 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-06-17 18:52:53 -0400 |
commit | 99bae5f94185c2cc65701e95c54e31e2f4345b88 (patch) | |
tree | 9cb7db676c228bd7e3ea9fbd221a6303ca2628ee /virt/kvm/eventfd.c | |
parent | ebe06187bf2aec10d537ce4595e416035367d703 (diff) |
cgroup: fix broken css_has_online_children()
After running:
# mount -t cgroup cpu xxx /cgroup && mkdir /cgroup/sub && \
rmdir /cgroup/sub && umount /cgroup
I found the cgroup root still existed:
# cat /proc/cgroups
#subsys_name hierarchy num_cgroups enabled
cpuset 0 1 1
cpu 1 1 1
...
It turned out css_has_online_children() is broken.
Signed-off-by: Li Zefan <lizefan@huawei.com>
Sigend-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'virt/kvm/eventfd.c')
0 files changed, 0 insertions, 0 deletions