]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgroup: when we unload a unit, also update all its parent's members mask
authorLennart Poettering <lennart@poettering.net>
Fri, 23 Nov 2018 00:13:47 +0000 (01:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 23 Nov 2018 12:41:37 +0000 (13:41 +0100)
commitb8b6f321044ab085358de91a1f72a7d86593dfda
tree8ac8a63fd583ffbc1ae4290a0dfb9ee32d8237d3
parent5af8805872809e6de4cc4d9495cb1a904772ab4e
cgroup: when we unload a unit, also update all its parent's members mask

This way we can corectly ensure that when a unit that requires some
controller goes away, we propagate the removal of it all the way up, so
that the controller is turned off in all the parents too.
src/core/unit.c