Skip to content
Commit 3ece58a2 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

page cache: Convert find_get_pages_contig to XArray



There's no direct replacement for radix_tree_for_each_contig()
in the XArray API as it's an unusual thing to do.  Instead,
open-code a loop using xas_next().  This removes the only user of
radix_tree_for_each_contig() so delete the iterator from the API and
the test suite code for it.

Signed-off-by: default avatarMatthew Wilcox <willy@infradead.org>
parent fd1b3cee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment