page cache: Convert find_get_entries_tag to XArray
Slightly shorter and simpler code. Signed-off-by: Matthew Wilcox <willy@infradead.org>
This commit is contained in:
parent
a6906972fe
commit
c1901cd33c
2 changed files with 25 additions and 31 deletions
|
|
@ -373,7 +373,7 @@ static inline unsigned find_get_pages_tag(struct address_space *mapping,
|
|||
nr_pages, pages);
|
||||
}
|
||||
unsigned find_get_entries_tag(struct address_space *mapping, pgoff_t start,
|
||||
int tag, unsigned int nr_entries,
|
||||
xa_mark_t tag, unsigned int nr_entries,
|
||||
struct page **entries, pgoff_t *indices);
|
||||
|
||||
struct page *grab_cache_page_write_begin(struct address_space *mapping,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue