Skip to content

Commit c92be10

Browse files
committed
crimson/os/seastore/omap_manager: fix OMapLeafNode rewrite type error
Fixes: https://tracker.ceph.com/issues/71939 Signed-off-by: Xuehan Xu <[email protected]>
1 parent 81bb3e7 commit c92be10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crimson/os/seastore/omap_manager/btree/omap_btree_node_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ struct OMapLeafNode
306306
using child_node_t = ChildNode<OMapInnerNode, OMapLeafNode, std::string>;
307307

308308
void do_on_rewrite(Transaction &t, LogicalCachedExtent &extent) final {
309-
auto &other = static_cast<OMapInnerNode&>(extent);
309+
auto &other = static_cast<OMapLeafNode&>(extent);
310310
this->init_range(other.get_begin(), other.get_end());
311311
}
312312

0 commit comments

Comments
 (0)