]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
cgroup: drop "ignore_self" argument from cg_is_empty()
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 16:32:07 +0000 (18:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 1 Sep 2015 16:37:01 +0000 (18:37 +0200)
commit6f883237f1b8a96ec0ea354866e033b6fcea9506
treea1f934ca47cc8e6967d09a4fbd9389fc83d824ba
parente155a0aa04e899a535fc3b6a98ef6141181d710f
cgroup: drop "ignore_self" argument from cg_is_empty()

In all cases where the function (or cg_is_empty_recursive()) ignoring
the calling process is actually wrong, as a process keeps a cgroup busy
regardless if its the current one or another. Hence, let's simplify
things and drop the "ignore_self" parameter.
src/basic/cgroup-util.c
src/basic/cgroup-util.h
src/core/cgroup.c
src/core/scope.c
src/core/service.c
src/login/loginctl.c
src/machine/machinectl.c
src/shared/cgroup-show.c
src/systemctl/systemctl.c
src/test/test-cgroup.c