diff options
| author | Pavel Hrdina <phrdina@redhat.com> | 2019-09-10 09:09:46 +0200 |
|---|---|---|
| committer | Pavel Hrdina <phrdina@redhat.com> | 2019-09-24 15:16:11 +0200 |
| commit | 1fbbb526eeadc2362a95470de852ecb6589beaea (patch) | |
| tree | 57deda8112ecd7e6e55b933335c13de851ee2f7c /src/basic | |
| parent | 047f5d63d7a1ab75073f8485e2f9b550d25b0772 (diff) | |
| download | systemd-1fbbb526eeadc2362a95470de852ecb6589beaea.tar.gz | |
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.
Diffstat (limited to 'src/basic')
| -rw-r--r-- | src/basic/cgroup-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basic/cgroup-util.c b/src/basic/cgroup-util.c index 80ec264261..2a359a6063 100644 --- a/src/basic/cgroup-util.c +++ b/src/basic/cgroup-util.c @@ -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 { |
