]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson/seastore/test_btree_lba_manager: fix get_overlap 37403/head
authorSamuel Just <sjust@redhat.com>
Mon, 19 Oct 2020 22:14:43 +0000 (15:14 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 20 Oct 2020 19:27:12 +0000 (12:27 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/test/crimson/seastore/test_btree_lba_manager.cc

index 78d47d4da05703c9fb08f0dd4df52c2cb3229ee0..d0063a64ef817ab354f19d1f99494dd6b784c8e7 100644 (file)
@@ -148,7 +148,7 @@ struct btree_lba_manager_test :
        bottom->first + bottom->second.len <= addr)
       ++bottom;
 
-    auto top = t.mappings.upper_bound(addr + len);
+    auto top = t.mappings.lower_bound(addr + len);
     return std::make_pair(
       bottom,
       top