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>
Mon, 21 Mar 2022 17:01:36 +0000 (13:01 -0400)
commit56a4d67c264e37014b8392cba9869c7fe904ed1e
tree6e5ba50d0d927bd0bd1317485bb1da891d42aeb6
parent1854bc6e2420472676c5c90d3d6b15f6cd640e40
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