]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
cgroup-util: fix obsolete comment about supported controllers 13481/head
authorPavel Hrdina <phrdina@redhat.com>
Tue, 10 Sep 2019 07:09:46 +0000 (09:09 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 24 Sep 2019 13:16:11 +0000 (15:16 +0200)
The list might grow so make the comment more generic to not worry about
it if some controller is implemented.

src/basic/cgroup-util.c

index 80ec2642617acf7abfa767b874a70fa36e32bab9..2a359a606374f2399affecaeb42487a9a02eb26b 100644 (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 {