aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-06-24 01:04:03 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-24 03:06:33 -0400
commitfd39ca9a808c6026989bc2188868a0574eb37108 (patch)
tree9dbb4df308afd32e1a913e3df9c828863c6f98ee /include/linux/nfsd
parenta76b4319ca85b5e3a8098470c623a272d40271cd (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/linux/nfsd')
-rw-r--r--include/linux/nfsd/state.h8
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
64extern stateid_t zerostateid;
65extern 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
70struct nfs4_cb_recall { 65struct 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
274extern time_t nfs4_laundromat(void);
275extern int nfsd4_renew(clientid_t *clid); 269extern int nfsd4_renew(clientid_t *clid);
276extern int nfs4_preprocess_stateid_op(struct svc_fh *current_fh, 270extern 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);
278extern int nfs4_share_conflict(struct svc_fh *current_fh,
279 unsigned int deny_type);
280extern void nfs4_lock_state(void); 272extern void nfs4_lock_state(void);
281extern void nfs4_unlock_state(void); 273extern void nfs4_unlock_state(void);
282extern int nfs4_in_grace(void); 274extern int nfs4_in_grace(void);