]> 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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 13 Oct 2019 03:26:31 +0000 (23:26 -0400)
commit74d72b2dd25166151d033bf585e814837af26de8
tree0c9ae95bafba59c0b5ca6b2bcc5a99754de27430
parent38daf8125a546671acd3baec61e3892eeb29eaf5
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