From: Rishabh Dave Date: Mon, 1 Sep 2025 14:21:44 +0000 (+0530) Subject: mds: order in which fields are compared should in same order as... X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9bb79ca756424c7739603a064a29e429d59b7b54;p=ceph.git mds: order in which fields are compared should in same order as... definition so that it is easy for readers to track them. Signed-off-by: Rishabh Dave --- diff --git a/src/include/cephfs/types.h b/src/include/cephfs/types.h index 913129625d9..fd35e638642 100644 --- a/src/include/cephfs/types.h +++ b/src/include/cephfs/types.h @@ -1164,11 +1164,11 @@ int inode_t::compare(const inode_t &other, bool *divergent truncate_size != other.truncate_size || truncate_from != other.truncate_from || truncate_pending != other.truncate_pending || - change_attr != other.change_attr || mtime != other.mtime || atime != other.atime || time_warp_seq != other.time_warp_seq || inline_data != other.inline_data || + change_attr != other.change_attr || client_ranges != other.client_ranges || !(dirstat == other.dirstat) || !(rstat == other.rstat) ||