Commit 60512ffa authored by Max Kellermann's avatar Max Kellermann

lib/nfs/Connection: make GetEventLoop() public

parent b1a252a6
......@@ -141,6 +141,10 @@ public:
return export_name.c_str();
}
EventLoop &GetEventLoop() {
return SocketMonitor::GetEventLoop();
}
/**
* Ensure that the connection is established. The connection
* is kept up while at least one #NfsLease is registered.
......@@ -165,10 +169,6 @@ protected:
virtual void OnNfsConnectionError(Error &&error) = 0;
private:
EventLoop &GetEventLoop() {
return SocketMonitor::GetEventLoop();
}
void DestroyContext();
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment