From: Liam R. Howlett Date: Sun, 31 Aug 2025 00:37:55 +0000 (-0400) Subject: mt_pivots incorrect for maple_copy X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=7263785977fceaafdd657ffa986bd4bdb6f9dac7;p=users%2Fjedix%2Flinux-maple.git mt_pivots incorrect for maple_copy Signed-off-by: Liam R. Howlett --- diff --git a/lib/maple_tree.c b/lib/maple_tree.c index 83ffc178436f..d6069d6c899a 100644 --- a/lib/maple_tree.c +++ b/lib/maple_tree.c @@ -122,7 +122,7 @@ static const unsigned char mt_pivots[] = { [maple_leaf_64] = MAPLE_RANGE64_SLOTS - 1, [maple_range_64] = MAPLE_RANGE64_SLOTS - 1, [maple_arange_64] = MAPLE_ARANGE64_SLOTS - 1, - [maple_copy] = 0, + [maple_copy] = 3, }; #define mt_pivot_count(x) mt_pivots[mte_node_type(x)]