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>
Thu, 17 Feb 2022 22:05:53 +0000 (17:05 -0500)
commit5ce17f074d2edfb80c6a230edad8af33afa9eeec
treea455c67a519778b708a2edc103f45f3459778785
parent042c4f32323beb28146c658202d3e69899e4f245
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