Skip to content

Commit 8eb81e1

Browse files
authored
Merge pull request ceph#64318 from xxhdx1985126/wip-seastore-omap-leaf-node-rewrite
crimson/os/seastore/omap_manager: fix OMapLeafNode rewrite type error Reviewed-by: Yingxin Cheng <[email protected]>
2 parents 665ffb9 + c92be10 commit 8eb81e1

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)