cgroup-util: fix obsolete comment about supported controllers

The list might grow so make the comment more generic to not worry about
it if some controller is implemented.
This commit is contained in:
Pavel Hrdina
2019-09-24 15:16:11 +02:00
parent 047f5d63d7
commit 1fbbb526ee
+1 -2
View File
@@ -2435,8 +2435,7 @@ int cg_mask_supported(CGroupMask *ret) {
if (r < 0)
return r;
/* Currently, we support the cpu, memory, io and pids controller in the unified hierarchy, mask
* everything else off. */
/* Mask controllers that are not supported in unified hierarchy. */
mask &= CGROUP_MASK_V2;
} else {