]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
test_maple_tree: add test for mas_spanning_rebalance() on insufficient data
authorLiam Howlett <liam.howlett@oracle.com>
Mon, 19 Dec 2022 16:20:15 +0000 (16:20 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Dec 2022 22:31:52 +0000 (14:31 -0800)
commitc5651b31f51584bd1199b3a552c8211a8523d6e1
tree9958d5bee4a43c3f22847ce286525b3c424736f7
parent0abb964aae3da746ea2fd4301599a6fa26da58db
test_maple_tree: add test for mas_spanning_rebalance() on insufficient data

Add a test to the maple tree test suite for the spanning rebalance
insufficient node issue does not go undetected again.

Link: https://lkml.kernel.org/r/20221219161922.2708732-3-Liam.Howlett@oracle.com
Fixes: 54a611b60590 ("Maple Tree: add new data structure")
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Andrei Vagin <avagin@gmail.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Muhammad Usama Anjum <usama.anjum@collabora.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/test_maple_tree.c