]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/os/seastore/lba: fix possible namespace lookup error wip-new-128
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 3 Feb 2026 03:11:33 +0000 (11:11 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Tue, 3 Feb 2026 03:11:33 +0000 (11:11 +0800)
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/lba/btree_lba_manager.cc

index d01d649b8effb07895f9d888f3f78b08f69e582d..0f45510e5ca9429f34c7610bab4df16a6f56d368 100644 (file)
@@ -1267,7 +1267,7 @@ BtreeLBAManager::scan_mapped_space(
   DEBUGT("scan lba tree", t);
   auto c = get_context(t);
   auto scan_visitor = std::move(f);
-  auto btree = co_await get_btree<LBABtree>(c);
+  auto btree = co_await crimson::os::seastore::get_btree<LBABtree>(c);
   auto block_size = cache.get_block_size();
   auto pos = co_await btree.lower_bound(c, L_ADDR_MIN);
   while (!pos.is_end()) {