Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libct/cg/fs2: fix GetStats for unsupported hugetlb
In case hugetlb is not supported, GetStats() should not error out, and yet it does. Assume that if GetHugePageSize return an error, hugetlb is not supported (this is what cgroup v1 manager do). Fixes: 89a87ad Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit 916c6a1) Signed-off-by: Akihiro Suda <[email protected]>
- Loading branch information