Revert "core: do not spawn jobs or touch other units during coldplugging"

This reverts commit 6e392c9c45.

We really shouldn't invent external state keeping hashmaps, if we can
keep this state in the units themselves.
This commit is contained in:
Lennart Poettering
2015-04-24 15:51:10 +02:00
parent 9211e87514
commit be847e82cf
16 changed files with 32 additions and 88 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ static int scope_load(Unit *u) {
return scope_verify(s);
}
static int scope_coldplug(Unit *u, Hashmap *deferred_work) {
static int scope_coldplug(Unit *u) {
Scope *s = SCOPE(u);
int r;