Skip to content

Commit efb30b1

Browse files
committed
crimson/os/seastore/logical_child_node: rename child_node_t to
lba_child_node_t To be distinguished with omap nodes' child_node_t Signed-off-by: Xuehan Xu <[email protected]>
1 parent 9828cbe commit efb30b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/crimson/os/seastore/logical_child_node.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LogicalChildNode : public LogicalCachedExtent,
1414
public ChildNode<lba_manager::btree::LBALeafNode,
1515
LogicalChildNode,
1616
laddr_t> {
17-
using child_node_t = ChildNode<
17+
using lba_child_node_t = ChildNode<
1818
lba_manager::btree::LBALeafNode, LogicalChildNode, laddr_t>;
1919
public:
2020
template <typename... T>
@@ -24,7 +24,7 @@ class LogicalChildNode : public LogicalCachedExtent,
2424
if (this->has_parent_tracker() &&
2525
this->is_valid() &&
2626
!this->is_pending()) {
27-
child_node_t::destroy();
27+
lba_child_node_t::destroy();
2828
}
2929
}
3030

@@ -41,7 +41,7 @@ class LogicalChildNode : public LogicalCachedExtent,
4141
}
4242
protected:
4343
void on_replace_prior() final {
44-
child_node_t::on_replace_prior();
44+
lba_child_node_t::on_replace_prior();
4545
do_on_replace_prior();
4646
}
4747
virtual void do_on_replace_prior() {}

0 commit comments

Comments
 (0)