fs: Turn do_invalidatepage() into folio_invalidate()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 9 Feb 2022 20:21:28 +0000 (20:21 +0000)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 15 Mar 2022 12:23:25 +0000 (08:23 -0400)
commit5ad6b2bdaaea712486145fa5a78ec24d25289071
tree5955982c75ab125ace0c4d14190579918eca89b5
parent2e7e80f7e7e9dbbb3c2a85ee923ca32826052816
fs: Turn do_invalidatepage() into folio_invalidate()

Take a folio instead of a page, fix the types of the offset & length,
and export it to filesystems.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs
Tested-by: David Howells <dhowells@redhat.com> # afs
include/linux/mm.h
include/linux/pagemap.h
mm/readahead.c
mm/truncate.c