lib/nfs/{FileReader,Glue}: pass EventLoop&

Eliminate dependency on io_thread_get().
This commit is contained in:
Max Kellermann
2017-01-25 22:58:13 +01:00
parent 4140e9b857
commit 611ce6e756
7 changed files with 17 additions and 13 deletions

View File

@@ -74,7 +74,7 @@ public:
server(std::move(_server)),
export_name(std::move(_export_name)),
state(State::INITIAL) {
nfs_init();
nfs_init(_loop);
}
~NfsStorage() {