]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
librados: set id in messenger
authorGreg Farnum <gregf@hq.newdream.net>
Wed, 2 Dec 2009 01:31:18 +0000 (17:31 -0800)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 2 Dec 2009 01:32:38 +0000 (17:32 -0800)
src/librados.cc

index 340e4438e0bfbdafa567821fd0299b6df9f20390..4702e4de49d5a1229a9f68d1e3a3d0d5fb968b5d 100644 (file)
@@ -312,7 +312,7 @@ bool RadosClient::init()
   monclient.init();
 
   monclient.authenticate(g_conf.client_mount_timeout);
-
+  messenger->set_myname(entity_name_t::CLIENT(monclient.get_global_id()));
 
   lock.Lock();