diff options
author | Benny Halevy <bhalevy@panasas.com> | 2009-04-03 01:28:41 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-04-03 20:41:19 -0400 |
commit | dd453dfd70538cadc02cb47ff8d8cfd0cb8cf435 (patch) | |
tree | c55174fec4f6c7ddd803a598bcd755ec87e7ff0e /include/linux/nfsd | |
parent | e10e0cfc2f27364c73b28adbd3c8688d97049e73 (diff) |
nfsd: pass nfsd4_compound_state* to nfs4_preprocess_{state,seq}id_op
Currently we only use cstate->current_fh,
will also be used by nfsd41 code.
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/state.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index 18dcffa57f77..836c0d6bbed8 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -333,7 +333,9 @@ struct nfs4_stateid { | |||
333 | ((err) != nfserr_stale_stateid) && \ | 333 | ((err) != nfserr_stale_stateid) && \ |
334 | ((err) != nfserr_bad_stateid)) | 334 | ((err) != nfserr_bad_stateid)) |
335 | 335 | ||
336 | extern __be32 nfs4_preprocess_stateid_op(struct svc_fh *current_fh, | 336 | struct nfsd4_compound_state; |
337 | |||
338 | extern __be32 nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, | ||
337 | stateid_t *stateid, int flags, struct file **filp); | 339 | stateid_t *stateid, int flags, struct file **filp); |
338 | extern void nfs4_lock_state(void); | 340 | extern void nfs4_lock_state(void); |
339 | extern void nfs4_unlock_state(void); | 341 | extern void nfs4_unlock_state(void); |