aboutsummaryrefslogtreecommitdiff
path: root/include/linux/pagevec.h
diff options
context:
space:
mode:
authorGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2021-12-07 14:28:49 -0500
committerGravatar Matthew Wilcox (Oracle) <willy@infradead.org> 2022-01-08 00:28:41 -0500
commit1613fac9aaf840af76faa747ea428a714af98dbd (patch)
treeeaae4b9e7d9392ba0038210e2b6111dd9e783236 /include/linux/pagevec.h
parentmm: Convert find_lock_entries() to use a folio_batch (diff)
downloadlinux-1613fac9aaf840af76faa747ea428a714af98dbd.tar.gz
linux-1613fac9aaf840af76faa747ea428a714af98dbd.tar.bz2
linux-1613fac9aaf840af76faa747ea428a714af98dbd.zip
mm: Remove pagevec_remove_exceptionals()
All of its callers now call folio_batch_remove_exceptionals(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'include/linux/pagevec.h')
-rw-r--r--include/linux/pagevec.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/pagevec.h b/include/linux/pagevec.h
index c3fa616d7ae7..dda8d5868c81 100644
--- a/include/linux/pagevec.h
+++ b/include/linux/pagevec.h
@@ -27,7 +27,6 @@ struct pagevec {
void __pagevec_release(struct pagevec *pvec);
void __pagevec_lru_add(struct pagevec *pvec);
-void pagevec_remove_exceptionals(struct pagevec *pvec);
unsigned pagevec_lookup_range(struct pagevec *pvec,
struct address_space *mapping,
pgoff_t *start, pgoff_t end);
@@ -146,8 +145,5 @@ static inline void folio_batch_release(struct folio_batch *fbatch)
pagevec_release((struct pagevec *)fbatch);
}
-static inline void folio_batch_remove_exceptionals(struct folio_batch *fbatch)
-{
- pagevec_remove_exceptionals((struct pagevec *)fbatch);
-}
+void folio_batch_remove_exceptionals(struct folio_batch *fbatch);
#endif /* _LINUX_PAGEVEC_H */