]> 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>
Fri, 30 Oct 2020 18:56:26 +0000 (14:56 -0400)
commit46b2095befb73ee4ae6e94597403bc53d6f861d4
tree006e449ccea7105fb006ff00b0bba01ce1d2d345
parent58e87d397110e9de6f098175f5897d45a79afff8
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