diff options
author | Matthew Wilcox (Oracle) | 2022-01-22 20:54:52 +0000 |
---|---|---|
committer | Trond Myklebust | 2022-02-25 15:07:07 -0500 |
commit | 8786fde8421ce755a842051f9528674a1b1f0b9a (patch) | |
tree | 1052211ef0a255524ad285c1c1648ad95b1b0d93 /include/linux/nfs_fs.h | |
parent | 98c27f276be85a73f0babc61c9f8128b7ef593c6 (diff) |
Convert NFS from readpages to readahead
NFS is one of the last two users of the deprecated ->readpages aop.
This conversion looks straightforward, but I have only compile-tested
it.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r-- | include/linux/nfs_fs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 68f81d8d36de..333ea05e2531 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -601,8 +601,7 @@ nfs_have_writebacks(struct inode *inode) * linux/fs/nfs/read.c */ extern int nfs_readpage(struct file *, struct page *); -extern int nfs_readpages(struct file *, struct address_space *, - struct list_head *, unsigned); +void nfs_readahead(struct readahead_control *); /* * inline functions |