diff options
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
-rw-r--r-- | fs/nfsd/nfs3proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c index f61142afea44..0c4fab018791 100644 --- a/fs/nfsd/nfs3proc.c +++ b/fs/nfsd/nfs3proc.c | |||
@@ -180,7 +180,7 @@ nfsd3_proc_read(struct svc_rqst *rqstp, struct nfsd3_readargs *argp, | |||
180 | fh_copy(&resp->fh, &argp->fh); | 180 | fh_copy(&resp->fh, &argp->fh); |
181 | nfserr = nfsd_read(rqstp, &resp->fh, NULL, | 181 | nfserr = nfsd_read(rqstp, &resp->fh, NULL, |
182 | argp->offset, | 182 | argp->offset, |
183 | argp->vec, argp->vlen, | 183 | rqstp->rq_vec, argp->vlen, |
184 | &resp->count); | 184 | &resp->count); |
185 | if (nfserr == 0) { | 185 | if (nfserr == 0) { |
186 | struct inode *inode = resp->fh.fh_dentry->d_inode; | 186 | struct inode *inode = resp->fh.fh_dentry->d_inode; |
@@ -210,7 +210,7 @@ nfsd3_proc_write(struct svc_rqst *rqstp, struct nfsd3_writeargs *argp, | |||
210 | resp->committed = argp->stable; | 210 | resp->committed = argp->stable; |
211 | nfserr = nfsd_write(rqstp, &resp->fh, NULL, | 211 | nfserr = nfsd_write(rqstp, &resp->fh, NULL, |
212 | argp->offset, | 212 | argp->offset, |
213 | argp->vec, argp->vlen, | 213 | rqstp->rq_vec, argp->vlen, |
214 | argp->len, | 214 | argp->len, |
215 | &resp->committed); | 215 | &resp->committed); |
216 | resp->count = argp->count; | 216 | resp->count = argp->count; |