From: Mike Yuan Date: Sun, 25 Feb 2024 01:00:27 +0000 (+0800) Subject: core/cgroup: remove obsolete TODO X-Git-Tag: v256-rc1~720^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=821333263cab4d144dad2f67093c7d3b7ed461cd;p=thirdparty%2Fsystemd.git core/cgroup: remove obsolete TODO --- diff --git a/src/core/cgroup.c b/src/core/cgroup.c index 9567d56d0f0..ccbbda47b2f 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -4783,7 +4783,7 @@ static int unit_get_io_accounting_raw(Unit *u, uint64_t ret[static _CGROUP_IO_AC r = cg_all_unified(); if (r < 0) return r; - if (r == 0) /* TODO: support cgroupv1 */ + if (r == 0) return -ENODATA; if (!FLAGS_SET(crt->cgroup_realized_mask, CGROUP_MASK_IO))