aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@infradead.org>2018-05-16 23:56:04 -0400
committerMatthew Wilcox <willy@infradead.org>2018-10-21 10:46:35 -0400
commitc1901cd33cf407d77a181f8dd4ffff98041ef480 (patch)
tree4a7b69052ae6e402db04c329a6087b819b703fbb /include/linux/pagemap.h
parentpage cache; Convert find_get_pages_range_tag to XArray (diff)
downloadlinux-dev-c1901cd33cf407d77a181f8dd4ffff98041ef480.tar.xz
linux-dev-c1901cd33cf407d77a181f8dd4ffff98041ef480.zip
page cache: Convert find_get_entries_tag to XArray
Slightly shorter and simpler code. Signed-off-by: Matthew Wilcox <willy@infradead.org>
Diffstat (limited to 'include/linux/pagemap.h')
-rw-r--r--include/linux/pagemap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index c9bbb9a05764..226f96f0dee0 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -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,