]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mt_pivots incorrect for maple_copy
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Sun, 31 Aug 2025 00:37:55 +0000 (20:37 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 2 Oct 2025 17:28:03 +0000 (13:28 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c

index 83ffc178436f22a45c4c3b26985985a223a71cf6..d6069d6c899a0d0b1415155059bce21b6282587a 100644 (file)
@@ -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)]