]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - fs/isofs/inode.c
Merge tag 'for-5.8/block-2020-06-01' of git://git.kernel.dk/linux-block
[thirdparty/linux.git] / fs / isofs / inode.c
index 276107cdaaf13878995cf802c9e1515b34afaef5..d634561f871a569847c3c6d4ed6159142c6e889d 100644 (file)
@@ -1183,10 +1183,9 @@ static int isofs_readpage(struct file *file, struct page *page)
        return mpage_readpage(page, isofs_get_block);
 }
 
-static int isofs_readpages(struct file *file, struct address_space *mapping,
-                       struct list_head *pages, unsigned nr_pages)
+static void isofs_readahead(struct readahead_control *rac)
 {
-       return mpage_readpages(mapping, pages, nr_pages, isofs_get_block);
+       mpage_readahead(rac, isofs_get_block);
 }
 
 static sector_t _isofs_bmap(struct address_space *mapping, sector_t block)
@@ -1196,7 +1195,7 @@ static sector_t _isofs_bmap(struct address_space *mapping, sector_t block)
 
 static const struct address_space_operations isofs_aops = {
        .readpage = isofs_readpage,
-       .readpages = isofs_readpages,
+       .readahead = isofs_readahead,
        .bmap = _isofs_bmap
 };