]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: initialize InodeStoreBase::damage_flags 5487/head
authorYan, Zheng <zyan@redhat.com>
Thu, 6 Aug 2015 08:12:27 +0000 (16:12 +0800)
committerYan, Zheng <zyan@redhat.com>
Thu, 6 Aug 2015 08:14:01 +0000 (16:14 +0800)
Fixes: #12619
Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/CInode.h

index 586ad3091d1015a6706a6bb7877161848940d896..a7abba43c2c9fc2c91395d3c957dc675af9c78b7 100644 (file)
@@ -80,7 +80,7 @@ public:
   snapid_t                  oldest_snap;
   damage_flags_t            damage_flags;
 
-  InodeStoreBase() : oldest_snap(CEPH_NOSNAP) { }
+  InodeStoreBase() : oldest_snap(CEPH_NOSNAP), damage_flags(0) { }
 
   /* Helpers */
   bool is_file() const    { return inode.is_file(); }