summaryrefslogtreecommitdiff
path: root/src/core/dbus-service.c
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2020-06-01 17:33:51 +0200
committerMichal Koutný <mkoutny@suse.com>2020-08-19 11:41:53 +0200
commitf23ba94db31feb0ede6524fdabd0efdb8344e90b (patch)
treebd55c797ae82b612ac2f09644e290eedc81d060d /src/core/dbus-service.c
parentfb46fca7e0c484026bbc9e196aee118800186768 (diff)
downloadsystemd-f23ba94db31feb0ede6524fdabd0efdb8344e90b.tar.gz
cgroup: Implicit unit_invalidate_cgroup_members_masks
Merge members mask invalidation into unit_add_siblings_to_cgroup_realize_queue, this way unit_realize_cgroup needn't be called with members mask invalidation. We have to retain the members mask invalidation in unit_load -- although active units would have cgroups (re)realized (unit_load queues for realization), the realization would happen with potentially stale mask.
Diffstat (limited to 'src/core/dbus-service.c')
-rw-r--r--src/core/dbus-service.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/dbus-service.c b/src/core/dbus-service.c
index 3cc453dff5..09f88b385b 100644
--- a/src/core/dbus-service.c
+++ b/src/core/dbus-service.c
@@ -457,7 +457,6 @@ int bus_service_set_property(
int bus_service_commit_properties(Unit *u) {
assert(u);
- unit_invalidate_cgroup_members_masks(u);
unit_realize_cgroup(u);
return 0;