]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osdmap: initialize cluster_snapshot_epoch
authorSage Weil <sage.weil@dreamhost.com>
Thu, 8 Dec 2011 16:41:54 +0000 (08:41 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 8 Dec 2011 16:41:54 +0000 (08:41 -0800)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/OSDMap.h

index ea3ca90098cd6ced0dbe2b55a01eea0bc7a142e0..dab7ab4b1245b4ee979973661b6c036ac8dba443 100644 (file)
@@ -191,7 +191,8 @@ private:
   OSDMap() : epoch(0), 
             pool_max(-1),
             flags(0),
-            num_osd(0), max_osd(0) { 
+            num_osd(0), max_osd(0),
+            cluster_snapshot_epoch(0) { 
     memset(&fsid, 0, sizeof(fsid));
   }