]> git.ipfire.org Git - thirdparty/systemd.git/commit
core/cgroup: don't ever try to get SPECIAL_ROOT_SLICE from Manager.cgroup_unit
authorMike Yuan <me@yhndnzj.com>
Wed, 4 Jun 2025 18:18:01 +0000 (20:18 +0200)
committerMike Yuan <me@yhndnzj.com>
Wed, 4 Jun 2025 20:03:47 +0000 (22:03 +0200)
commit50f2ee4576024a1b2cca7a151c50a060e2bb9612
tree4d260d7052258688b424ed356baea738e7bcd3bb
parent73d7bee852dadf2c238e54b99f6c3f3c544bc700
core/cgroup: don't ever try to get SPECIAL_ROOT_SLICE from Manager.cgroup_unit

This tries to query unit name in cgroup_unit hashmap, which
always returns NULL. Just return NULL directly instead.
src/core/cgroup.c