]> www.infradead.org Git - users/jedix/linux-maple.git/commit
maple tree test: Iterate over a partially deleted tree
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 16 Oct 2019 20:03:18 +0000 (16:03 -0400)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Fri, 30 Oct 2020 18:56:35 +0000 (14:56 -0400)
commit3dc2a49e4cdca0970cc2015cd15dba68bd6259da
tree72ebe65a65cc61436105d45e5bb290631c73ec9a
parenta33bcf0dbfdb88f286ea0a502e9bf7df6fad410b
maple tree test: Iterate over a partially deleted tree

Move mas_reset() to the header file and add mas_retry() to mirror
xas_retry().  Fix a few minor typos too.  Each time we delete an
entry from the tree, iterate over the tree to be sure we can still
do that correctly.  It fails once we've deleted the first node.

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