]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: make sure cg_is_empty_recursive() returns 1 for non-existing cgroups
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Sep 2015 16:28:21 +0000 (18:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 4 Sep 2015 07:07:31 +0000 (09:07 +0200)
commit9a66c87a2386468fd3adc250cd9003644a7a5e6b
treecff0510153f4e9202aa5b3adcca8428bb71fba6e
parentb8725df8b338b13405e430d037f0aac7872ce3d5
cgroup: make sure cg_is_empty_recursive() returns 1 for non-existing cgroups

Previously, on the legacy hierarchy a non-existing cgroup was considered
identical to an empty one, but the unified hierarchy the check for a
non-existing one returned ENOENT.
src/basic/cgroup-util.c