lib/nfs/Glue: eliminate class NfsGlue

It's just a useless wrapper for class NfsManager.
This commit is contained in:
Max Kellermann 2014-10-01 20:37:25 +02:00
parent fb4e6ac923
commit 1b5ec3e3ca

View File

@ -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