StoragePlugin: pass EventLoop to constructor

This commit is contained in:
Max Kellermann
2014-10-07 19:45:40 +02:00
parent 1aac0b10c9
commit 3d2558bde6
11 changed files with 31 additions and 15 deletions

View File

@@ -166,7 +166,7 @@ glue_mapper_init(Error &error)
static bool
InitStorage(Error &error)
{
Storage *storage = CreateConfiguredStorage(error);
Storage *storage = CreateConfiguredStorage(io_thread_get(), error);
if (storage == nullptr)
return !error.IsDefined();