chiark / gitweb /
dbus: greatly extend dbus coverage
[elogind.git] / mount.c
diff --git a/mount.c b/mount.c
index cc94ca6f2365cb078275ee9ad323efefbe345c83..d3e222d4bc83be173eb97582af266b1301fe9ae4 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -33,6 +33,8 @@
 #include "strv.h"
 #include "mount-setup.h"
 #include "unit-name.h"
+#include "mount.h"
+#include "dbus-mount.h"
 
 static const UnitActiveState state_translation_table[_MOUNT_STATE_MAX] = {
         [MOUNT_DEAD] = UNIT_INACTIVE,
@@ -1357,6 +1359,8 @@ const UnitVTable mount_vtable = {
         .sigchld_event = mount_sigchld_event,
         .timer_event = mount_timer_event,
 
+        .bus_message_handler = bus_mount_message_handler,
+
         .enumerate = mount_enumerate,
         .shutdown = mount_shutdown
 };