filemap: Convert page_cache_delete to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 8 May 2021 04:35:49 +0000 (00:35 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 4 Jan 2022 18:15:33 +0000 (13:15 -0500)
commita548b615834548c202548ca2acbf7b42a17003d7
tree01d90311d1f4d20aeb9dba806cd93d37bc9180e9
parent9f2b04a25a41b1f41b3cead4f56854a4192ec5b0
filemap: Convert page_cache_delete to take a folio

It was already assuming a head page, so this is a straightforward
conversion.  Convert the one caller to call page_folio(), even though
it must currently be passing in a head page.

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