From b38cc33c1346dfb7bb756d22a66f8f13f20a9c65 Mon Sep 17 00:00:00 2001 From: "Liam R. Howlett" Date: Wed, 30 Jan 2019 09:38:56 -0500 Subject: [PATCH] maple_tree: Add comment about encode parent. function name seems to lack description Signed-off-by: Liam R. Howlett --- lib/maple_tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 2443225dbe3b..267fb2c659d5 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -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); -- 2.50.1