From: Yan, Zheng Date: Thu, 6 Aug 2015 08:12:27 +0000 (+0800) Subject: mds: initialize InodeStoreBase::damage_flags X-Git-Tag: v9.1.0~433^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F5487%2Fhead;p=ceph.git mds: initialize InodeStoreBase::damage_flags Fixes: #12619 Signed-off-by: Yan, Zheng --- diff --git a/src/mds/CInode.h b/src/mds/CInode.h index 586ad3091d10..a7abba43c2c9 100644 --- a/src/mds/CInode.h +++ b/src/mds/CInode.h @@ -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(); }