]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
xio: build fixes (XioMessenger lacks features argument)
authorMatt Benjamin <mbenjamin@redhat.com>
Thu, 3 Nov 2016 14:46:55 +0000 (10:46 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 3 Nov 2016 14:49:44 +0000 (10:49 -0400)
Applies the constructor signature change to the uses in
xio_client and xio_server test programs.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/test/messenger/xio_client.cc
src/test/messenger/xio_server.cc

index cad3a0544678171132debacd115578bc1f492754..f1082466b47e73278715fd6cd5813044b4ede149 100644 (file)
@@ -117,7 +117,8 @@ int main(int argc, const char **argv)
        messenger = new XioMessenger(g_ceph_context,
                                     entity_name_t::MON(-1),
                                     "xio_client",
-                                    0 /* nonce */, XIO_ALL_FEATURES, 0 /* cflags */,
+                                    0 /* nonce */,
+                                    0 /* cflags */,
                                     dstrategy);
 
        // enable timing prints
index 21ea4e0e5210ebd64f568b8d2c0b35c03b79d145..a5459a55e200021d3620cfbb8853f6ac0ac14262 100644 (file)
@@ -88,7 +88,8 @@ int main(int argc, const char **argv)
        messenger = new XioMessenger(g_ceph_context,
                                     entity_name_t::MON(-1),
                                     "xio_server",
-                                    0 /* nonce */, XIO_ALL_FEATURES, 0 /* cflags */,
+                                    0 /* nonce */,
+                                    0 /* cflags */,
                                     dstrategy);
 
        static_cast<XioMessenger*>(messenger)->set_magic(