]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2db305e60555ae5008f4efe1dc1587e8ccd1fc99
tree5a036e9eef295e64d19a9ef1bad37217502ee19e
parent8d47e807a03a23b4da24cacb5eedd3b86a206478
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