Commit 1b5ec3e3 authored by Max Kellermann's avatar Max Kellermann

lib/nfs/Glue: eliminate class NfsGlue

It's just a useless wrapper for class NfsManager.
parent fb4e6ac9
......@@ -23,23 +23,7 @@
#include "IOThread.hxx"
#include "util/Manual.hxx"
class NfsGlue {
NfsManager manager;
public:
NfsGlue(EventLoop &_loop)
:manager(_loop) {}
~NfsGlue() {
//assert(open_uri.empty());
}
NfsConnection &GetConnection(const char *server, const char *export_name) {
return manager.GetConnection(server, export_name);
}
};
static Manual<NfsGlue> nfs_glue;
static Manual<NfsManager> nfs_glue;
static unsigned in_use;
void
......
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