summaryrefslogtreecommitdiffstats
path: root/include/linux/iomap.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-08-10 18:33:10 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-08-16 21:26:33 -0700
commita6d3d49587d10d23189675fce11b332a915081ff (patch)
tree9f62642491e601b61beb81c1ae80c32318d24405 /include/linux/iomap.h
parent253564bafff31382b412839b0e1bb44c19c51172 (diff)
downloadlinux-stable-a6d3d49587d10d23189675fce11b332a915081ff.tar.gz
linux-stable-a6d3d49587d10d23189675fce11b332a915081ff.tar.bz2
linux-stable-a6d3d49587d10d23189675fce11b332a915081ff.zip
iomap: switch __iomap_dio_rw to use iomap_iter
Switch __iomap_dio_rw to use iomap_iter. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'include/linux/iomap.h')
-rw-r--r--include/linux/iomap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h
index aac4176ea164..66e04aedd2ca 100644
--- a/include/linux/iomap.h
+++ b/include/linux/iomap.h
@@ -322,8 +322,8 @@ int iomap_writepages(struct address_space *mapping,
struct iomap_dio_ops {
int (*end_io)(struct kiocb *iocb, ssize_t size, int error,
unsigned flags);
- blk_qc_t (*submit_io)(struct inode *inode, struct iomap *iomap,
- struct bio *bio, loff_t file_offset);
+ blk_qc_t (*submit_io)(const struct iomap_iter *iter, struct bio *bio,
+ loff_t file_offset);
};
/*