NFS: Add nfs_pageio_complete_read() and remove nfs_readpage_async()
authorDave Wysochanski <dwysocha@redhat.com>
Thu, 28 Jan 2021 14:55:03 +0000 (09:55 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 1 Feb 2021 18:32:48 +0000 (13:32 -0500)
commit1e83b173b2663b7d357309584678cf24787f0713
tree1ff80de8e812f21d93b427981118e65c5d20d342
parent0c119e3a18f994251c74c751e1657e4ef8da0c00
NFS: Add nfs_pageio_complete_read() and remove nfs_readpage_async()

Add nfs_pageio_complete_read() and call this from both nfs_readpage()
and nfs_readpages(), since the submission and accounting is the same
for both functions.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/fscache.c
fs/nfs/read.c
include/linux/nfs_fs.h