]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
xio: compile fix removing undeclared 'features'
authorMarov Aleksey <Marov.A@raidix.com>
Thu, 3 Nov 2016 13:41:51 +0000 (09:41 -0400)
committerMatt Benjamin <mbenjamin@redhat.com>
Thu, 3 Nov 2016 14:49:25 +0000 (10:49 -0400)
This fix was proposed on ceph-devel and acked by Sage Weil.
The corresponding change in in the later print is obvious
from context.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/msg/xio/XioMessenger.cc

index 52d22fb83a299c172f8e0d2c82cc5fcd14db5586..5743cc1e42ef57abc4151450ed2bb1b4edd4e997 100644 (file)
@@ -378,13 +378,13 @@ XioMessenger::XioMessenger(CephContext *cct, entity_name_t name,
   /* update class instance count */
   nInstances.inc();
 
-  loop_con->set_features(features);
+  loop_con->set_features(CEPH_FEATURES_ALL);
 
   ldout(cct,2) << "Create msgr: " << this << " instance: "
     << nInstances.read() << " type: " << name.type_str()
     << " subtype: " << mname << " nportals: " << get_nportals(cflags)
-    << " nconns_per_portal: " << get_nconns_per_portal(cflags) << " features: "
-    << features << dendl;
+    << " nconns_per_portal: " << get_nconns_per_portal(cflags)
+    << dendl;
 
 } /* ctor */