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: v19.1.1~41^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7b69b96034f69bc951897e5ad36f7f0e69ca63ca;p=ceph.git crimson/os/seastore/btree: correct out-dated comments Signed-off-by: Xuehan Xu (cherry picked from commit 0de50ca29e21d0e1e57df85316b231ac043ba8d5) --- 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