diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-24 15:27:19 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-24 15:51:10 +0200 |
commit | be847e82cf95bf8eb589778df2aa2b3d1d7ae99e (patch) | |
tree | 91c85462c6741f4426ecb2334755994be81fd4c1 /src/core/mount.c | |
parent | 9211e875148588ca96988bb781a27b96ac33adfa (diff) |
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.
Diffstat (limited to 'src/core/mount.c')
-rw-r--r-- | src/core/mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index d3a4098f1a..eb25bcbdbe 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -601,7 +601,7 @@ static void mount_set_state(Mount *m, MountState state) { m->reload_result = MOUNT_SUCCESS; } -static int mount_coldplug(Unit *u, Hashmap *deferred_work) { +static int mount_coldplug(Unit *u) { Mount *m = MOUNT(u); MountState new_state = MOUNT_DEAD; int r; |