From: Yingxin Cheng Date: Thu, 18 Mar 2021 15:39:25 +0000 (+0800) Subject: crimson/onode-staged-tree: fix typo in compare_full_key() X-Git-Tag: v17.1.0~2434^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=73c1a55eb5ba46bec1f578295987277cd1f94b83;p=ceph.git crimson/onode-staged-tree: fix typo in compare_full_key() Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h b/src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h index 2475b744c8609..ff3cc305e494c 100644 --- a/src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h +++ b/src/crimson/os/seastore/onode_manager/staged-fltree/stages/key_layout.h @@ -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());