From 0de50ca29e21d0e1e57df85316b231ac043ba8d5 Mon Sep 17 00:00:00 2001 From: Xuehan Xu Date: Mon, 1 Jul 2024 15:31:12 +0800 Subject: [PATCH] crimson/os/seastore/btree: correct out-dated comments Signed-off-by: Xuehan Xu --- src/crimson/os/seastore/btree/fixed_kv_node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crimson/os/seastore/btree/fixed_kv_node.h b/src/crimson/os/seastore/btree/fixed_kv_node.h index 79495cb35d1..21fe5c72fac 100644 --- a/src/crimson/os/seastore/btree/fixed_kv_node.h +++ b/src/crimson/os/seastore/btree/fixed_kv_node.h @@ -130,7 +130,7 @@ struct FixedKVNode : ChildableCachedExtent { children[offset] = child; set_child_ptracker(child); } else { - // this can only happen when reserving lba spaces + // this can happen when reserving lba spaces and cloning mappings ceph_assert(is_leaf_and_has_children()); // this is to avoid mistakenly copying pointers from // copy sources when committing this lba node, because -- 2.39.5