]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/onode-staged-tree: fix typo in compare_full_key()
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 18 Mar 2021 15:39:25 +0000 (23:39 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 29 Mar 2021 05:51:15 +0000 (13:51 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h

index 2475b744c8609988bbcccd2ed7d09ff5c6d37599..ff3cc305e494c9ab24bc7494719f18a2e9f8115d 100644 (file)
@@ -729,7 +729,7 @@ MatchKindCMP compare_full_key(
   ret = toMatchKindCMP(l.pool(), r.pool());
   if (ret != MatchKindCMP::EQ)
     return ret;
-  ret = toMatchKindCMP(l.crush() != r.crush());
+  ret = toMatchKindCMP(l.crush(), r.crush());
   if (ret != MatchKindCMP::EQ)
     return ret;
   ret = toMatchKindCMP(l.nspace(), r.nspace());