1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-21 02:50:18 +03:00

core/cgroup: remove obsolete TODO

This commit is contained in:
Mike Yuan 2024-02-25 09:00:27 +08:00
parent 62b5bd3c8a
commit 821333263c
No known key found for this signature in database
GPG Key ID: 417471C0A40F58B3

View File

@ -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))