Commit 5204214f authored by Zefan Li's avatar Zefan Li Committed by yanhaitao
Browse files

cgroup: check if cgroup root is alive in cgroupstats_show()

euler inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8QLND


CVE: N/A

-------------------------------------------------

If a cgroup root is dying, show its hierarchy_id and num_cgroups
as 0.

Signed-off-by: default avatarZefan Li <lizefan@huawei.com>
Signed-off-by: default avatarchenridong <chenridong@huawei.com>
parent 6d225089
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment