]> 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)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 16 Oct 2019 20:03:18 +0000 (16:03 -0400)
commit5fa9f17ed33032a70d865f9e027d43428caaf76a
tree0b0bc186b85ff6bd76d4d33112657b624c03c43c
parent16d03b26b87b1a8b6ade7581a287be4824768ab9
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