]> www.infradead.org Git - users/willy/xarray.git/commit
radix tree tests: Convert regression2 to XArray
authorMatthew Wilcox <willy@infradead.org>
Sat, 13 Oct 2018 11:47:30 +0000 (07:47 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 8 Aug 2019 18:01:05 +0000 (14:01 -0400)
commit439c7a5909d89685b7afbe3d8eda83b7140014e3
tree30d80af528a863e737fec9fcd2541e4bad2535f0
parent90c86f0c36efbebe395fa8d658499f45772d5786
radix tree tests: Convert regression2 to XArray

The regression2 test was the last user of
radix_tree_gang_lookup_tag_slot() and was testing functionality that
was only used by the page cache, so it makes sense to convert it to
the XArray.  The actual bug that it attempts to catch was really in
radix_tree_range_tag_if_tagged() which was deleted months ago.

Signed-off-by: Matthew Wilcox <willy@infradead.org>
include/linux/radix-tree.h
lib/radix-tree.c
tools/testing/radix-tree/regression2.c