diff options
Diffstat (limited to 'fs/nfsd/nfssvc.c')
-rw-r--r-- | fs/nfsd/nfssvc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index ef0a3686639..b5168d1898e 100644 --- a/fs/nfsd/nfssvc.c +++ b/fs/nfsd/nfssvc.c | |||
@@ -515,6 +515,10 @@ nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) | |||
515 | + rqstp->rq_res.head[0].iov_len; | 515 | + rqstp->rq_res.head[0].iov_len; |
516 | rqstp->rq_res.head[0].iov_len += sizeof(__be32); | 516 | rqstp->rq_res.head[0].iov_len += sizeof(__be32); |
517 | 517 | ||
518 | /* NFSv4.1 DRC requires statp */ | ||
519 | if (rqstp->rq_vers == 4) | ||
520 | nfsd4_set_statp(rqstp, statp); | ||
521 | |||
518 | /* Now call the procedure handler, and encode NFS status. */ | 522 | /* Now call the procedure handler, and encode NFS status. */ |
519 | nfserr = proc->pc_func(rqstp, rqstp->rq_argp, rqstp->rq_resp); | 523 | nfserr = proc->pc_func(rqstp, rqstp->rq_argp, rqstp->rq_resp); |
520 | nfserr = map_new_errors(rqstp->rq_vers, nfserr); | 524 | nfserr = map_new_errors(rqstp->rq_vers, nfserr); |