summaryrefslogtreecommitdiff
path: root/src/core/automount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-24 15:27:19 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-24 15:51:10 +0200
commitbe847e82cf95bf8eb589778df2aa2b3d1d7ae99e (patch)
tree91c85462c6741f4426ecb2334755994be81fd4c1 /src/core/automount.c
parent9211e875148588ca96988bb781a27b96ac33adfa (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/automount.c')
-rw-r--r--src/core/automount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/automount.c b/src/core/automount.c
index b3e96fc2e1..6fc214b704 100644
--- a/src/core/automount.c
+++ b/src/core/automount.c
@@ -259,7 +259,7 @@ static void automount_set_state(Automount *a, AutomountState state) {
unit_notify(UNIT(a), state_translation_table[old_state], state_translation_table[state], true);
}
-static int automount_coldplug(Unit *u, Hashmap *deferred_work) {
+static int automount_coldplug(Unit *u) {
Automount *a = AUTOMOUNT(u);
int r;