From be847e82cf95bf8eb589778df2aa2b3d1d7ae99e Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Apr 2015 15:27:19 +0200 Subject: Revert "core: do not spawn jobs or touch other units during coldplugging" This reverts commit 6e392c9c45643d106673c6643ac8bf4e65da13c1. We really shouldn't invent external state keeping hashmaps, if we can keep this state in the units themselves. --- src/core/scope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/scope.c') diff --git a/src/core/scope.c b/src/core/scope.c index 8b2bb29ed8..1c3c6bb540 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -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; -- cgit v1.2.3-54-g00ecf