]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fix MMonElection encoding version
authorSage Weil <sage@newdream.net>
Fri, 10 Feb 2012 23:17:23 +0000 (15:17 -0800)
committerSage Weil <sage@newdream.net>
Fri, 10 Feb 2012 23:17:28 +0000 (15:17 -0800)
Signed-off-by: Sage Weil <sage@newdream.net>
src/messages/MMonElection.h

index 6d8148bc4ec1794908ab28e608683860c809ca59..7594c49cc1710e18186721f3522898cfaf0f2425 100644 (file)
@@ -46,7 +46,7 @@ public:
   
   MMonElection() : Message(MSG_MON_ELECTION, HEAD_VERSION) { }
   MMonElection(int o, epoch_t e, MonMap *m) : 
-    Message(MSG_MON_ELECTION), 
+    Message(MSG_MON_ELECTION, HEAD_VERSION), 
     fsid(m->fsid), op(o), epoch(e) {
     m->encode(monmap_bl);
   }