From: Xuehan Xu Date: Mon, 1 Jul 2024 07:31:12 +0000 (+0800) Subject: crimson/os/seastore/btree: correct out-dated comments X-Git-Tag: v20.0.0~1581^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F57828%2Fhead;p=ceph.git crimson/os/seastore/btree: correct out-dated comments Signed-off-by: Xuehan Xu --- diff --git a/src/crimson/os/seastore/btree/fixed_kv_node.h b/src/crimson/os/seastore/btree/fixed_kv_node.h index 79495cb35d12..21fe5c72facb 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