]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
maple_tree: Add comment about encode parent.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 30 Jan 2019 14:38:56 +0000 (09:38 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 18:55:29 +0000 (14:55 -0400)
function name seems to lack description

Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
lib/maple_tree.c

index 2443225dbe3bedd7248f7131877cb2a5b8dc89bf..267fb2c659d59e7755693686493b49d1041f64a4 100644 (file)
@@ -542,7 +542,7 @@ static int ma_split(struct ma_state *mas, unsigned char slot,
                old_parent = mt_parent(mas->node);
                p_slot = mt_parent_slot(mas->node);
                p_end = ma_data_end_r64(&old_parent->mr64, UINT_MAX);
-               ma_encoded_parent(mas);
+               ma_encoded_parent(mas); // sets mas->node to encoded parent and updates limits.
                if (p_end >= MAPLE_RANGE64_SLOTS - 1) {
                        /* Must split the parent */
                        split = ma_split(mas, p_slot, p_end, 1);