aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs3proc.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2020-10-22 15:23:50 -0400
committerChuck Lever <chuck.lever@oracle.com>2021-03-22 10:18:53 -0400
commitcc9bcdad7773c295375e66c892c7ac00524706f2 (patch)
tree20a9a5a3c0a4cc19f2db35007308f09d1d438ce1 /fs/nfsd/nfs3proc.c
parentNFSD: Update the NFSv3 READLINK3res encoder to use struct xdr_stream (diff)
downloadlinux-dev-cc9bcdad7773c295375e66c892c7ac00524706f2.tar.xz
linux-dev-cc9bcdad7773c295375e66c892c7ac00524706f2.zip
NFSD: Update the NFSv3 READ3res encode to use struct xdr_stream
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
-rw-r--r--fs/nfsd/nfs3proc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index e55a1d14ede2..93d196752f87 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -159,6 +159,7 @@ nfsd3_proc_read(struct svc_rqst *rqstp)
v = 0;
len = argp->count;
+ resp->pages = rqstp->rq_next_page;
while (len > 0) {
struct page *page = *(rqstp->rq_next_page++);