From ace4ba317105341364313d2d1e78b54829ae3883 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 12 Feb 2014 21:46:16 +0100 Subject: StorageCommands: emit IDLE_MOUNT on successful "mount" Add the new idle event to Idle.hxx/Idle.cxx. --- src/command/StorageCommands.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/command') diff --git a/src/command/StorageCommands.cxx b/src/command/StorageCommands.cxx index 8e26f3a9a..a538c77fb 100644 --- a/src/command/StorageCommands.cxx +++ b/src/command/StorageCommands.cxx @@ -29,6 +29,7 @@ #include "Instance.hxx" #include "storage/Registry.hxx" #include "storage/CompositeStorage.hxx" +#include "Idle.hxx" static void print_storage_uri(Client &client, const Storage &storage) @@ -109,5 +110,6 @@ handle_mount(Client &client, gcc_unused int argc, char *argv[]) } composite.Mount(local_uri, storage); + idle_add(IDLE_MOUNT); return CommandResult::OK; } -- cgit v1.2.3