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 /fs/zonefs | |
parent | 6c62371b7fd77628feb5b806bc29433caecedff8 (diff) | |
download | linux-stable-7479c505b4ab5ed5f81f35fdd68c44c58d6f0439.tar.gz linux-stable-7479c505b4ab5ed5f81f35fdd68c44c58d6f0439.tar.bz2 linux-stable-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 'fs/zonefs')
-rw-r--r-- | fs/zonefs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index e20e7c841489..c3a38f711b24 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -124,9 +124,9 @@ static const struct iomap_ops zonefs_iomap_ops = { .iomap_begin = zonefs_iomap_begin, }; -static int zonefs_readpage(struct file *unused, struct page *page) +static int zonefs_read_folio(struct file *unused, struct folio *folio) { - return iomap_readpage(page, &zonefs_iomap_ops); + return iomap_read_folio(folio, &zonefs_iomap_ops); } static void zonefs_readahead(struct readahead_control *rac) @@ -192,7 +192,7 @@ static int zonefs_swap_activate(struct swap_info_struct *sis, } static const struct address_space_operations zonefs_file_aops = { - .readpage = zonefs_readpage, + .read_folio = zonefs_read_folio, .readahead = zonefs_readahead, .writepage = zonefs_writepage, .writepages = zonefs_writepages, |