summaryrefslogtreecommitdiffstats
path: root/include/linux/pagemap.h
diff options
context:
space:
mode:
authorMatthew Wilcox2018-05-17 05:56:04 +0200
committerMatthew Wilcox2018-10-21 16:46:35 +0200
commitc1901cd33cf407d77a181f8dd4ffff98041ef480 (patch)
tree4a7b69052ae6e402db04c329a6087b819b703fbb /include/linux/pagemap.h
parentpage cache; Convert find_get_pages_range_tag to XArray (diff)
downloadkernel-qcow2-linux-c1901cd33cf407d77a181f8dd4ffff98041ef480.tar.gz
kernel-qcow2-linux-c1901cd33cf407d77a181f8dd4ffff98041ef480.tar.xz
kernel-qcow2-linux-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,