aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd/state.h')
-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);