From 9b79d05c5983c60747d6936a31de1a7ea901a564 Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Thu, 10 Mar 2016 10:50:07 +0800 Subject: [PATCH] mds: fix inode_t::compare() Fixes: #15038 Signed-off-by: Yan, Zheng --- src/mds/mdstypes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mds/mdstypes.cc b/src/mds/mdstypes.cc index 8fcf03a7c92c..5deec00cc283 100644 --- a/src/mds/mdstypes.cc +++ b/src/mds/mdstypes.cc @@ -448,7 +448,7 @@ int inode_t::compare(const inode_t &other, bool *divergent) const gid != other.gid || nlink != other.nlink || memcmp(&dir_layout, &other.dir_layout, sizeof(dir_layout)) || - memcmp(&layout, &other.layout, sizeof(layout)) || + layout != other.layout || old_pools != other.old_pools || size != other.size || max_size_ever != other.max_size_ever || -- 2.47.3