filemap: Convert filemap_get_pages to use folios
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 10 Mar 2021 19:01:22 +0000 (14:01 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 Jan 2022 18:15:34 +0000 (13:15 -0500)
commit65bca53b5f634aea13946359278818f225e08695
treeb8417bdc4a5b52e4e2f1f3aef0b5245b1cf279cb
parent81f4c03b7de75727be438f8f3e1683e0b0d1556a
filemap: Convert filemap_get_pages to use folios

This saves a few calls to compound_head(), including one in
filemap_update_page().  Shrinks the kernel by 78 bytes.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/filemap.c