]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Remove comment for range 16 node types in mte_set_parent
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 8 Sep 2020 15:34:58 +0000 (11:34 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 19:11:15 +0000 (15:11 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c

index cea6f2d93806734464ef12e8a30f14fb795a84e4..df99b9a47b4cd8ba14f6221b45253e5095b1c239 100644 (file)
@@ -289,14 +289,16 @@ static inline enum maple_type mas_parent_enum(struct ma_state *mas,
 
 /*
  * mte_set_parent() - Set the parent node and encode the slot.
+ * @node: The encoded maple node.
+ * @parent: The encoded maple node that is the parent of @node.
+ * @slot: The slot that @node resides in @parent.
  *
  * Type is encoded in the node->parent
  * bit 0: 1 = root, 0 otherwise
- * bit 1: 0 = range 16, 1 otherwise
+ * bit 1: Reserved.
  * bit 2: 0 = range 32, 1 = [a]range 64 | lowest bit of range_16's slot.
  *
  * Slot number is encoded in the node->parent
- * range_16, slot number is encoded in bits 2-6
  * range_32, slot number is encoded in bits 3-6
  * [a]range_64, slot number is encoded in bits 3-6
  */