summaryrefslogtreecommitdiffstats
path: root/src/ceph_fuse.cc
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2012-03-15 00:33:39 +0100
committerSage Weil <sage@newdream.net>2012-03-15 00:33:39 +0100
commit80e2a5e8370edf09480f5d6711021decc75d999f (patch)
tree0b607204aec082f8bf870fbe053566fe945948fc /src/ceph_fuse.cc
parentmsgr: introduce static Messenger::create() function (diff)
downloadceph-80e2a5e8370edf09480f5d6711021decc75d999f.tar.xz
ceph-80e2a5e8370edf09480f5d6711021decc75d999f.zip
msgr: switch all users over to abstract interface
This will let us transparently swap implementations out. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/ceph_fuse.cc')
-rw-r--r--src/ceph_fuse.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ceph_fuse.cc b/src/ceph_fuse.cc
index 5697515755b..807d4839b1a 100644
--- a/src/ceph_fuse.cc
+++ b/src/ceph_fuse.cc
@@ -23,7 +23,7 @@ using namespace std;
#include "client/Client.h"
#include "client/fuse_ll.h"
-#include "msg/SimpleMessenger.h"
+#include "msg/Messenger.h"
#include "mon/MonClient.h"
@@ -90,9 +90,9 @@ int main(int argc, const char **argv, const char *envp[]) {
return -1;
// start up network
- SimpleMessenger *messenger = new SimpleMessenger(g_ceph_context,
- entity_name_t::CLIENT(),
- getpid());
+ Messenger *messenger = Messenger::create(g_ceph_context,
+ entity_name_t::CLIENT(),
+ getpid());
Client *client = new Client(messenger, &mc);
if (filer_flags) {
client->set_filer_flags(filer_flags);