diff --git a/inode.c b/inode.c index ca0c7524384b..3efb9a678fa8 100644 --- a/inode.c +++ b/inode.c @@ -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)