From 73c1a55eb5ba46bec1f578295987277cd1f94b83 Mon Sep 17 00:00:00 2001 From: Yingxin Cheng Date: Thu, 18 Mar 2021 23:39:25 +0800 Subject: [PATCH] crimson/onode-staged-tree: fix typo in compare_full_key() Signed-off-by: Yingxin Cheng --- .../os/seastore/onode_manager/staged-fltree/stages/key_layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2475b744c86..ff3cc305e49 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()); -- 2.39.5