From: Liam R. Howlett Date: Wed, 30 Jan 2019 14:38:56 +0000 (-0500) Subject: maple_tree: Add comment about encode parent. X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b38cc33c1346dfb7bb756d22a66f8f13f20a9c65;p=users%2Fjedix%2Flinux-maple.git maple_tree: Add comment about encode parent. function name seems to lack description Signed-off-by: Liam R. Howlett --- 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);