Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1270e747 authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Namjae Jeon
Browse files

exfat: fs: Turn block_invalidatepage into block_invalidate_folio



Remove special-casing of a NULL invalidatepage, since there is no
more block_invalidatepage.

Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs
Tested-by: David Howells <dhowells@redhat.com> # afs
Signed-off-by: default avatarNamjae Jeon <linkinjeon@kernel.org>
parent bf7b4057
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -516,6 +516,9 @@ int exfat_block_truncate_page(struct inode *inode, loff_t from)
static const struct address_space_operations exfat_aops = {
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 14, 0)
	.set_page_dirty	= __set_page_dirty_buffers,
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 18, 0)
	.invalidate_folio = block_invalidate_folio,
#endif
	.readpage	= exfat_readpage,
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0)