mpage: Convert do_mpage_readpage() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 11 Jun 2022 02:58:24 +0000 (22:58 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 29 Jun 2022 12:51:05 +0000 (08:51 -0400)
commit211d04445b96db5b3640bcf345ad59105068a549
tree5a036e9eef295e64d19a9ef1bad37217502ee19e
parent6ffcd825e7d0416d78fd41cd5b7856a78122cc8c
mpage: Convert do_mpage_readpage() to use a folio

Pass in a folio from mpage_readahead().  Also convert map_buffer_to_page()
to map_buffer_to_folio().  There's still no support for large folios here;
there are numerous places which depend on the folio being PAGE_SIZE.
The VM_BUG_ON prevents anyone from thinking that it will work.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/mpage.c