diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2016-12-31 21:00:13 +0800 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2017-01-31 12:31:53 -0500 |
commit | 52e380e049d28732ec280c1e8840c9eddc716adb (patch) | |
tree | 02af89280217116da44bfab7c6060d46a62e2df0 /fs/nfsd/nfsproc.c | |
parent | 54bbb7d206db78a3dfd87bc8d9735cbe3ac3f938 (diff) | |
download | linux-52e380e049d28732ec280c1e8840c9eddc716adb.tar.gz linux-52e380e049d28732ec280c1e8840c9eddc716adb.tar.bz2 linux-52e380e049d28732ec280c1e8840c9eddc716adb.zip |
NFSD: cleanup dead codes and values in nfsd_write
This is just cleanup, no change in functionality.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsproc.c')
-rw-r--r-- | fs/nfsd/nfsproc.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index f157c7eff82f..fa82b7707e85 100644 --- a/fs/nfsd/nfsproc.c +++ b/fs/nfsd/nfsproc.c @@ -210,11 +210,8 @@ nfsd_proc_write(struct svc_rqst *rqstp, struct nfsd_writeargs *argp, SVCFH_fmt(&argp->fh), argp->len, argp->offset); - nfserr = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), NULL, - argp->offset, - rqstp->rq_vec, argp->vlen, - &cnt, - NFS_DATA_SYNC); + nfserr = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), argp->offset, + rqstp->rq_vec, argp->vlen, &cnt, NFS_DATA_SYNC); return nfsd_return_attrs(nfserr, resp); } |