diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-06-24 01:04:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-24 03:06:33 -0400 |
commit | fd39ca9a808c6026989bc2188868a0574eb37108 (patch) | |
tree | 9dbb4df308afd32e1a913e3df9c828863c6f98ee /include | |
parent | a76b4319ca85b5e3a8098470c623a272d40271cd (diff) |
[PATCH] knfsd: nfsd4: make needlessly global code static
This patch contains the following possible cleanups:
- make needlessly global code static
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/nfsd/state.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/nfsd/state.h b/include/linux/nfsd/state.h index fdaa84addadb..0e18ae22127d 100644 --- a/include/linux/nfsd/state.h +++ b/include/linux/nfsd/state.h | |||
@@ -61,11 +61,6 @@ typedef struct { | |||
61 | #define si_stateownerid si_opaque.so_stateownerid | 61 | #define si_stateownerid si_opaque.so_stateownerid |
62 | #define si_fileid si_opaque.so_fileid | 62 | #define si_fileid si_opaque.so_fileid |
63 | 63 | ||
64 | extern stateid_t zerostateid; | ||
65 | extern stateid_t onestateid; | ||
66 | |||
67 | #define ZERO_STATEID(stateid) (!memcmp((stateid), &zerostateid, sizeof(stateid_t))) | ||
68 | #define ONE_STATEID(stateid) (!memcmp((stateid), &onestateid, sizeof(stateid_t))) | ||
69 | 64 | ||
70 | struct nfs4_cb_recall { | 65 | struct nfs4_cb_recall { |
71 | u32 cbr_ident; | 66 | u32 cbr_ident; |
@@ -271,12 +266,9 @@ struct nfs4_stateid { | |||
271 | ((err) != nfserr_stale_stateid) && \ | 266 | ((err) != nfserr_stale_stateid) && \ |
272 | ((err) != nfserr_bad_stateid)) | 267 | ((err) != nfserr_bad_stateid)) |
273 | 268 | ||
274 | extern time_t nfs4_laundromat(void); | ||
275 | extern int nfsd4_renew(clientid_t *clid); | 269 | extern int nfsd4_renew(clientid_t *clid); |
276 | extern int nfs4_preprocess_stateid_op(struct svc_fh *current_fh, | 270 | extern int nfs4_preprocess_stateid_op(struct svc_fh *current_fh, |
277 | stateid_t *stateid, int flags, struct file **filp); | 271 | stateid_t *stateid, int flags, struct file **filp); |
278 | extern int nfs4_share_conflict(struct svc_fh *current_fh, | ||
279 | unsigned int deny_type); | ||
280 | extern void nfs4_lock_state(void); | 272 | extern void nfs4_lock_state(void); |
281 | extern void nfs4_unlock_state(void); | 273 | extern void nfs4_unlock_state(void); |
282 | extern int nfs4_in_grace(void); | 274 | extern int nfs4_in_grace(void); |