summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs.h
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2021-01-28 17:55:01 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-02-01 21:32:48 +0300
commit1af7e7f8c12f521c111bd7cf0d138be7e15b51a5 (patch)
treef50f65b26ac25219973fa85d7d375651476789a3 /include/linux/nfs_fs.h
parent6ddfd213f4ea22ac955bcd82100c57cd294494d2 (diff)
downloadlinux-1af7e7f8c12f521c111bd7cf0d138be7e15b51a5.tar.xz
NFS: Refactor nfs_readpage() and nfs_readpage_async() to use nfs_readdesc
Both nfs_readpage() and nfs_readpages() use similar code. This patch should be no functional change, and refactors nfs_readpage_async() to use nfs_readdesc to enable future merging of nfs_readpage_async() and nfs_readpage_async_filler(). Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs_fs.h')
-rw-r--r--include/linux/nfs_fs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 681ed98e4ba8..cb0248a34518 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -570,8 +570,7 @@ nfs_have_writebacks(struct inode *inode)
extern int nfs_readpage(struct file *, struct page *);
extern int nfs_readpages(struct file *, struct address_space *,
struct list_head *, unsigned);
-extern int nfs_readpage_async(struct nfs_open_context *, struct inode *,
- struct page *);
+extern int nfs_readpage_async(void *, struct inode *, struct page *);
/*
* inline functions