]> git.ipfire.org Git - thirdparty/linux.git/commit - mm/filemap.c
filemap: Convert filemap_read() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 1 Nov 2021 02:22:19 +0000 (22:22 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 8 Jan 2022 05:28:41 +0000 (00:28 -0500)
commitd996fc7f615feb5986f67829e18a8d8400f41361
treed1379db2b5c223073a354ae1f600815de38d4286
parent78f426608f21c997975adb96641b7ac82d4d15b1
filemap: Convert filemap_read() to use a folio

We know the pagevec always contains folios, but use page_folio() anyway
instead of casting.  Removes a few calls to legacy functions.

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