]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: init value in pg_stat
authorSage Weil <sage@newdream.net>
Thu, 3 Apr 2008 20:45:12 +0000 (13:45 -0700)
committerSage Weil <sage@newdream.net>
Thu, 3 Apr 2008 20:45:12 +0000 (13:45 -0700)
src/osd/osd_types.h

index 60ddf099dfc891331f310c2b56bf9eba82cd6201..bdf8cfaa3bbb3ecadfd37c0630324d6d4905d480 100644 (file)
@@ -265,7 +265,7 @@ struct pg_stat_t {
   int64_t num_blocks;   // in 4k blocks
   int64_t num_objects;
   
-  pg_stat_t() : parent_split_bits(0), state(0), num_bytes(0), num_blocks(0), num_objects(0) {}
+  pg_stat_t() : created(0), parent_split_bits(0), state(0), num_bytes(0), num_blocks(0), num_objects(0) {}
 } __attribute__ ((packed));
 
 typedef struct ceph_osd_peer_stat osd_peer_stat_t;