]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: order in which fields are compared should in same order as...
authorRishabh Dave <ridave@redhat.com>
Mon, 1 Sep 2025 14:21:44 +0000 (19:51 +0530)
committerRishabh Dave <ridave@redhat.com>
Tue, 2 Sep 2025 10:20:03 +0000 (15:50 +0530)
definition so that it is easy for readers to track them.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
src/include/cephfs/types.h

index 913129625d9ec75620108e2df014c9813c2f1b34..fd35e638642dc775196a6517fa64676a5e8a3631 100644 (file)
@@ -1164,11 +1164,11 @@ int inode_t<Allocator>::compare(const inode_t<Allocator> &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) ||