From 6b2923306587e8e0b05a6341131278a6de661619 Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Thu, 6 Aug 2015 16:12:27 +0800 Subject: [PATCH] mds: initialize InodeStoreBase::damage_flags Fixes: #12619 Signed-off-by: Yan, Zheng --- src/mds/CInode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.47.3