]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: Add cmapv to ESessions default constructor initializer list 8403/head
authorJohn Coyle <dx9err@gmail.com>
Thu, 31 Mar 2016 19:38:45 +0000 (15:38 -0400)
committerJohn Coyle <dx9err@gmail.com>
Mon, 4 Apr 2016 17:59:51 +0000 (13:59 -0400)
Fixes uninitialized values in cmapv which cause ceph-dencoder tests to fail.

Signed-off-by: John Coyle <dx9err@gmail.com>
src/mds/events/ESessions.h

index 35a6ce74c2d83807ce3c4813a358e08ce37fc4a4..a9a834c390e8938a63cce453d96502fd18f1dd53 100644 (file)
@@ -28,7 +28,7 @@ public:
   map<client_t,entity_inst_t> client_map;
   bool old_style_encode;
 
-  ESessions() : LogEvent(EVENT_SESSIONS), old_style_encode(false) { }
+  ESessions() : LogEvent(EVENT_SESSIONS), cmapv(0), old_style_encode(false) { }
   ESessions(version_t pv, map<client_t,entity_inst_t>& cm) :
     LogEvent(EVENT_SESSIONS),
     cmapv(pv),