On 09/27/2017 12:03 PM, Jan Kara wrote:
+unsigned pagevec_lookup_range_nr_tag(struct pagevec *pvec, + struct address_space *mapping, pgoff_t *index, pgoff_t end, + int tag, unsigned max_pages) +{ + pvec->nr = find_get_pages_range_tag(mapping, index, end, tag, + min_t(unsigned int, max_pages, PAGEVEC_SIZE), pvec->pages); + return pagevec_count(pvec); +} +EXPORT_SYMBOL(pagevec_lookup_range_tag);
The EXPORT_SYMBOL should be pagevec_lookup_range_nr_tag instead of pagevec_lookup_range_tag.
Daniel