]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix spanning_rebalance across many nodes with a new root.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 1 Sep 2020 19:30:05 +0000 (15:30 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:30:19 +0000 (12:30 -0500)
commitadfade108b2a334be15cafb0e4075bef969397ec
treea846b8056a25b22da8f9ada888723e851d929515
parent342afcdff687550a5083a3a7338309753d5dba59
maple_tree: Fix spanning_rebalance across many nodes with a new root.

When spanning many nodes and creating a new root at a different level,
the spanning rebalance was not correctly installing the root node.

Also, rework test framework to test the above scenario correctly and add
a test (set41) to do so.

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