NFS: Refactor nfs_readpage() and nfs_readpage_async() to use nfs_readdesc
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 28 Jan 2021 14:55:01 +0000 (09:55 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 1 Feb 2021 18:32:48 +0000 (13:32 -0500)
commit1af7e7f8c12f521c111bd7cf0d138be7e15b51a5
treef50f65b26ac25219973fa85d7d375651476789a3
parent6ddfd213f4ea22ac955bcd82100c57cd294494d2
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>
fs/nfs/read.c
include/linux/nfs_fs.h