diff options
author | Tigran Mkrtchyan <kofemann@gmail.com> | 2012-02-13 16:55:25 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2012-02-15 11:20:39 -0500 |
commit | 62cd4a591c6e0ead783940169fb8d34fe3f04992 (patch) | |
tree | 149caa0d996deaa4556f3cb40cdd6d72b15b333f /fs/nfsd/current_stateid.h | |
parent | 8b70484c67cf5241cfbea0ee31b83e42e5bac163 (diff) |
nfsd41: handle current stateid on lock and locku
Signed-off-by: Tigran Mkrtchyan <kofemann@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/current_stateid.h')
-rw-r--r-- | fs/nfsd/current_stateid.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/fs/nfsd/current_stateid.h b/fs/nfsd/current_stateid.h index a83dd508cb8c..21550b69dec6 100644 --- a/fs/nfsd/current_stateid.h +++ b/fs/nfsd/current_stateid.h | |||
@@ -4,8 +4,17 @@ | |||
4 | #include "state.h" | 4 | #include "state.h" |
5 | #include "xdr4.h" | 5 | #include "xdr4.h" |
6 | 6 | ||
7 | /* | ||
8 | * functions to set current state id | ||
9 | */ | ||
7 | extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *); | 10 | extern void nfsd4_set_openstateid(struct nfsd4_compound_state *, struct nfsd4_open *); |
8 | extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *); | 11 | extern void nfsd4_set_lockstateid(struct nfsd4_compound_state *, struct nfsd4_lock *); |
9 | extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *); | 12 | extern void nfsd4_set_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *); |
10 | 13 | ||
14 | /* | ||
15 | * functions to consume current state id | ||
16 | */ | ||
17 | extern void nfsd4_get_closestateid(struct nfsd4_compound_state *, struct nfsd4_close *); | ||
18 | extern void nfsd4_get_lockustateid(struct nfsd4_compound_state *, struct nfsd4_locku *); | ||
19 | |||
11 | #endif /* _NFSD4_CURRENT_STATE_H */ | 20 | #endif /* _NFSD4_CURRENT_STATE_H */ |