summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs3proc.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2016-12-31 20:59:53 +0800
committerJ. Bruce Fields <bfields@redhat.com>2017-01-31 12:31:53 -0500
commit54bbb7d206db78a3dfd87bc8d9735cbe3ac3f938 (patch)
tree940db662527f1be3a5144f09094556cb614896c1 /fs/nfsd/nfs3proc.c
parente35659f1b03c03946cae8abb6b0a9e170b574f1c (diff)
downloadlinux-54bbb7d206db78a3dfd87bc8d9735cbe3ac3f938.tar.gz
linux-54bbb7d206db78a3dfd87bc8d9735cbe3ac3f938.tar.bz2
linux-54bbb7d206db78a3dfd87bc8d9735cbe3ac3f938.zip
NFSD: pass an integer for stable type to nfsd_vfs_write
After fae5096ad217 "nfsd: assume writeable exportabled filesystems have f_sync" we no longer modify this argument. This is just cleanup, no change in functionality. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs3proc.c')
-rw-r--r--fs/nfsd/nfs3proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c
index d818e4ffd79f..69cd0f1e26ff 100644
--- a/fs/nfsd/nfs3proc.c
+++ b/fs/nfsd/nfs3proc.c
@@ -197,7 +197,7 @@ nfsd3_proc_write(struct svc_rqst *rqstp, struct nfsd3_writeargs *argp,
argp->offset,
rqstp->rq_vec, argp->vlen,
&cnt,
- &resp->committed);
+ resp->committed);
resp->count = cnt;
RETURN_STATUS(nfserr);
}