mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-24 05:01:03 +02:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user