diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-04-29 08:54:32 -0400 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-05-09 16:21:44 -0400 |
commit | 7479c505b4ab5ed5f81f35fdd68c44c58d6f0439 (patch) | |
tree | cdb9286c7fae06b9ec29f2db2d6ef99e4a145e0d /include/linux/iomap.h | |
parent | 6c62371b7fd77628feb5b806bc29433caecedff8 (diff) | |
download | lwn-7479c505b4ab5ed5f81f35fdd68c44c58d6f0439.tar.gz lwn-7479c505b4ab5ed5f81f35fdd68c44c58d6f0439.zip |
fs: Convert iomap_readpage to iomap_read_folio
A straightforward conversion as iomap_readpage already worked in folios.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux/iomap.h')
-rw-r--r-- | include/linux/iomap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index b76f0dd149fb..5b2aa45ddda3 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h @@ -225,7 +225,7 @@ static inline const struct iomap *iomap_iter_srcmap(const struct iomap_iter *i) ssize_t iomap_file_buffered_write(struct kiocb *iocb, struct iov_iter *from, const struct iomap_ops *ops); -int iomap_readpage(struct page *page, const struct iomap_ops *ops); +int iomap_read_folio(struct folio *folio, const struct iomap_ops *ops); void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops); bool iomap_is_partially_uptodate(struct folio *, size_t from, size_t count); int iomap_releasepage(struct page *page, gfp_t gfp_mask); |