NFSD: pass an integer for stable type to nfsd_vfs_write

After fae5096ad2 "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>
This commit is contained in:
Kinglong Mee
2016-12-31 20:59:53 +08:00
committed by J. Bruce Fields
parent e35659f1b0
commit 54bbb7d206
6 changed files with 11 additions and 13 deletions

View File

@@ -983,7 +983,7 @@ nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
status = nfsd_vfs_write(rqstp, &cstate->current_fh, filp,
write->wr_offset, rqstp->rq_vec, nvecs, &cnt,
&write->wr_how_written);
write->wr_how_written);
fput(filp);
write->wr_bytes_written = cnt;