summaryrefslogtreecommitdiffstats
path: root/include/linux/iomap.h
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2021-04-28 07:51:36 -0400
committerMatthew Wilcox (Oracle) <willy@infradead.org>2021-12-16 15:49:52 -0500
commit8306a5f56305521d8b307b4ee1f69949fbb49279 (patch)
tree06b12151340f42118132ebf16b90dfcf6bae80ea /include/linux/iomap.h
parent39f16c83453d6cdb601dc9cd51c8f321c14da644 (diff)
downloadlinux-8306a5f56305521d8b307b4ee1f69949fbb49279.tar.gz
linux-8306a5f56305521d8b307b4ee1f69949fbb49279.tar.bz2
linux-8306a5f56305521d8b307b4ee1f69949fbb49279.zip
iomap: Add iomap_invalidate_folio
Keep iomap_invalidatepage around as a wrapper for use in address_space operations. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'include/linux/iomap.h')
-rw-r--r--include/linux/iomap.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h
index 6d1b08d0ae93..29491fb9c5ba 100644
--- a/include/linux/iomap.h
+++ b/include/linux/iomap.h
@@ -225,6 +225,7 @@ void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops);
int iomap_is_partially_uptodate(struct page *page, unsigned long from,
unsigned long count);
int iomap_releasepage(struct page *page, gfp_t gfp_mask);
+void iomap_invalidate_folio(struct folio *folio, size_t offset, size_t len);
void iomap_invalidatepage(struct page *page, unsigned int offset,
unsigned int len);
#ifdef CONFIG_MIGRATION