From: Liam R. Howlett Date: Tue, 8 Sep 2020 15:34:58 +0000 (-0400) Subject: maple_tree: Remove comment for range 16 node types in mte_set_parent X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b5c1691b44755ec12fe90d945dc1e24ea5ab39ee;p=users%2Fjedix%2Flinux-maple.git maple_tree: Remove comment for range 16 node types in mte_set_parent Signed-off-by: Liam R. Howlett --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index cea6f2d93806..df99b9a47b4c 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -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 */