summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_aops.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2022-02-09 21:21:35 +0100
committerMatthew Wilcox (Oracle) <willy@infradead.org>2022-03-15 13:23:29 +0100
commit5660a8630dab61a28e07ec00c42bf605b182d725 (patch)
tree6552818a01a6b1f514b58b255d409748230506c6 /fs/xfs/xfs_aops.c
parentfs: Turn block_invalidatepage into block_invalidate_folio (diff)
downloadlinux-5660a8630dab61a28e07ec00c42bf605b182d725.tar.xz
linux-5660a8630dab61a28e07ec00c42bf605b182d725.zip
fs: Remove noop_invalidatepage()
We used to have to use noop_invalidatepage() to prevent block_invalidatepage() from being called, but that behaviour is now gone. 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
Diffstat (limited to 'fs/xfs/xfs_aops.c')
-rw-r--r--fs/xfs/xfs_aops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_aops.c b/fs/xfs/xfs_aops.c
index 51a040b658cb..7dd314f2288f 100644
--- a/fs/xfs/xfs_aops.c
+++ b/fs/xfs/xfs_aops.c
@@ -582,6 +582,5 @@ const struct address_space_operations xfs_dax_aops = {
.writepages = xfs_dax_writepages,
.direct_IO = noop_direct_IO,
.set_page_dirty = __set_page_dirty_no_writeback,
- .invalidatepage = noop_invalidatepage,
.swap_activate = xfs_iomap_swapfile_activate,
};