core/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()`
authorIvan Shapovalov <intelfx@intelfx.name>
Fri, 20 Sep 2024 15:02:13 +0000 (17:02 +0200)
committerIvan Shapovalov <intelfx@intelfx.name>
Sat, 21 Sep 2024 03:45:36 +0000 (05:45 +0200)
commita0020ad84bb092fc72cde7dca5784a0a4e613fd7
tree187500e90748a4dabf77a913e01beac8dc70264e
parent146b44d0a0001712ced2f22ca76d242eedac26ad
core/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()`

The name of the parameter is misleading and it does not save us much
work because it is not used during regular unit property queries.
It is only used during unit_log_resources(), and the cgroup is already
dead by that point so it won't be read anyway.
src/core/cgroup.c
src/core/cgroup.h
src/core/dbus-unit.c
src/core/unit.c