From b71d0b79ba8036a463bf7b625814947d1d946d52 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Tue, 8 Sep 2020 11:34:58 -0400 Subject: [PATCH] maple_tree: Remove comment for range 16 node types in mte_set_parent Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 */ -- 2.50.1