diff options
author | Jeff Layton <jlayton@poochiereds.net> | 2015-03-23 10:53:44 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-03-31 16:46:39 -0400 |
commit | 4229789993ee23bf35ee87546655bbbb6013569a (patch) | |
tree | 2512a01e25f4c147c5fc56b76bcea5515eb9dbed /fs/nfsd | |
parent | fc26c3860a6a4a9396f401024f1cc91a95a59143 (diff) |
nfsd: remove unused status arg to nfsd4_cleanup_open_state
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r-- | fs/nfsd/nfs4proc.c | 2 | ||||
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 | ||||
-rw-r--r-- | fs/nfsd/xdr4.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4proc.c b/fs/nfsd/nfs4proc.c index 4449359fffa2..8d7260ebb611 100644 --- a/fs/nfsd/nfs4proc.c +++ b/fs/nfsd/nfs4proc.c | |||
@@ -470,7 +470,7 @@ out: | |||
470 | fh_put(resfh); | 470 | fh_put(resfh); |
471 | kfree(resfh); | 471 | kfree(resfh); |
472 | } | 472 | } |
473 | nfsd4_cleanup_open_state(cstate, open, status); | 473 | nfsd4_cleanup_open_state(cstate, open); |
474 | nfsd4_bump_seqid(cstate, status); | 474 | nfsd4_bump_seqid(cstate, status); |
475 | return status; | 475 | return status; |
476 | } | 476 | } |
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index 1596b1352bc5..fd875b6107ba 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c | |||
@@ -4117,7 +4117,7 @@ out: | |||
4117 | } | 4117 | } |
4118 | 4118 | ||
4119 | void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, | 4119 | void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, |
4120 | struct nfsd4_open *open, __be32 status) | 4120 | struct nfsd4_open *open) |
4121 | { | 4121 | { |
4122 | if (open->op_openowner) { | 4122 | if (open->op_openowner) { |
4123 | struct nfs4_stateowner *so = &open->op_openowner->oo_owner; | 4123 | struct nfs4_stateowner *so = &open->op_openowner->oo_owner; |
diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h index 0bda93e58e1b..83e80d6d94a6 100644 --- a/fs/nfsd/xdr4.h +++ b/fs/nfsd/xdr4.h | |||
@@ -683,7 +683,7 @@ extern __be32 nfsd4_process_open2(struct svc_rqst *rqstp, | |||
683 | struct svc_fh *current_fh, struct nfsd4_open *open); | 683 | struct svc_fh *current_fh, struct nfsd4_open *open); |
684 | extern void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate); | 684 | extern void nfsd4_cstate_clear_replay(struct nfsd4_compound_state *cstate); |
685 | extern void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, | 685 | extern void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate, |
686 | struct nfsd4_open *open, __be32 status); | 686 | struct nfsd4_open *open); |
687 | extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp, | 687 | extern __be32 nfsd4_open_confirm(struct svc_rqst *rqstp, |
688 | struct nfsd4_compound_state *, struct nfsd4_open_confirm *oc); | 688 | struct nfsd4_compound_state *, struct nfsd4_open_confirm *oc); |
689 | extern __be32 nfsd4_close(struct svc_rqst *rqstp, | 689 | extern __be32 nfsd4_close(struct svc_rqst *rqstp, |