mm/readahead: Switch to page_cache_ra_order
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sun, 25 Jul 2021 03:26:14 +0000 (23:26 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 1 Mar 2022 02:01:36 +0000 (21:01 -0500)
commit1fb129cd915ee593d26384f99cb7ecefa6a7d4f0
tree593612735108b6fb2e1053eba6012fb922d7723f
parent61435e1e267c608c7056c2fd8c521211657842d7
mm/readahead: Switch to page_cache_ra_order

do_page_cache_ra() was being exposed for the benefit of
do_sync_mmap_readahead().  Switch it over to page_cache_ra_order()
partly because it's a better interface but mostly for the benefit of
the next patch.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
mm/filemap.c
mm/internal.h
mm/readahead.c