]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple_tree: Fix test check_find
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 13 Oct 2019 03:23:46 +0000 (23:23 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:13 +0000 (12:28 -0500)
commitbab46819e72702c40007377368a7fd9acefb212d
treeb730380693417e59359d25d16b9903b5bc4587a3
parent9d2dbc6efa80451b3c138718a4c3d928ebbc418a
maple_tree: Fix test check_find

Lock the tree before beginning the iteration and unlock it after we've
finished.  Also destroy the tree so subsequent users of the tree aren't
confused by the detritus from this test.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
lib/test_maple_tree.c