mm/truncate: Convert invalidate_inode_page() to use a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 12 Feb 2022 22:39:10 +0000 (17:39 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Mon, 21 Mar 2022 16:59:01 +0000 (12:59 -0400)
commit4418481396b2caeded6d0eed11ac9052ab4c0763
tree54f959056fc58d66ac3d7d90e83779e5b8da78e2
parent1b8ddbeeb9b819e62b7190115023ce858a159f5c
mm/truncate: Convert invalidate_inode_page() to use a folio

This saves a number of calls to compound_head().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
mm/truncate.c