Skip to content
Commit 8fa8e538 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

page cache: Convert filemap_range_has_page to XArray



Instead of calling find_get_pages_range() and putting any reference,
use xas_find() to iterate over any entries in the range, skipping the
shadow/swap entries.

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