mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
142d0f2d5d
It's bad and wrong to use these functions for any cgroupv2 code, and there are no existing users (in runc, at least). Make them return an error in such case. Also, remove the cgroupv2-specific handling from findCgroupMountpointAndRootFromReader(). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>