diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2020-10-23 02:31:48 +0300 |
---|---|---|
committer | Chuck Lever <chuck.lever@oracle.com> | 2021-03-22 17:18:56 +0300 |
commit | e4ccfe3014de435984939a3d84b7f241d3b57b0d (patch) | |
tree | a1e9268ecde35c60f83b7cd4898c7aeae0652a39 /fs/nfsd/nfs3proc.c | |
parent | a1409e2de4f11034c8eb30775cc3e37039a4ef13 (diff) | |
download | linux-e4ccfe3014de435984939a3d84b7f241d3b57b0d.tar.xz |
NFSD: Update the NFSv3 READDIR3res encoder 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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index 791d77363acd..f1096aa0f47c 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c @@ -447,7 +447,8 @@ static void nfsd3_init_dirlist_pages(struct svc_rqst *rqstp, * and reserve room for the NULL ptr & eof flag (-2 words) */ resp->buflen = (count >> 2) - 2; - resp->buffer = page_address(*rqstp->rq_next_page); + resp->pages = rqstp->rq_next_page; + resp->buffer = page_address(*resp->pages); while (count > 0) { rqstp->rq_next_page++; count -= PAGE_SIZE; |