diff options
Diffstat (limited to 'fs/nfsd/state.h')
-rw-r--r-- | fs/nfsd/state.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/fs/nfsd/state.h b/fs/nfsd/state.h index 115215723f76..89ab137d379a 100644 --- a/fs/nfsd/state.h +++ b/fs/nfsd/state.h | |||
@@ -457,6 +457,8 @@ extern __be32 nfs4_preprocess_stateid_op(struct nfsd4_compound_state *cstate, | |||
457 | extern void nfs4_lock_state(void); | 457 | extern void nfs4_lock_state(void); |
458 | extern void nfs4_unlock_state(void); | 458 | extern void nfs4_unlock_state(void); |
459 | extern int nfs4_in_grace(void); | 459 | extern int nfs4_in_grace(void); |
460 | extern void nfs4_release_reclaim(void); | ||
461 | extern struct nfs4_client_reclaim *nfsd4_find_reclaim_client(struct nfs4_client *crp); | ||
460 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid); | 462 | extern __be32 nfs4_check_open_reclaim(clientid_t *clid); |
461 | extern void nfs4_free_openowner(struct nfs4_openowner *); | 463 | extern void nfs4_free_openowner(struct nfs4_openowner *); |
462 | extern void nfs4_free_lockowner(struct nfs4_lockowner *); | 464 | extern void nfs4_free_lockowner(struct nfs4_lockowner *); |
@@ -471,16 +473,17 @@ extern void nfsd4_destroy_callback_queue(void); | |||
471 | extern void nfsd4_shutdown_callback(struct nfs4_client *); | 473 | extern void nfsd4_shutdown_callback(struct nfs4_client *); |
472 | extern void nfs4_put_delegation(struct nfs4_delegation *dp); | 474 | extern void nfs4_put_delegation(struct nfs4_delegation *dp); |
473 | extern __be32 nfs4_make_rec_clidname(char *clidname, struct xdr_netobj *clname); | 475 | extern __be32 nfs4_make_rec_clidname(char *clidname, struct xdr_netobj *clname); |
474 | extern void nfsd4_init_recdir(void); | ||
475 | extern int nfsd4_recdir_load(void); | ||
476 | extern void nfsd4_shutdown_recdir(void); | ||
477 | extern int nfs4_client_to_reclaim(const char *name); | 476 | extern int nfs4_client_to_reclaim(const char *name); |
478 | extern int nfs4_has_reclaimed_state(const char *name, bool use_exchange_id); | 477 | extern int nfs4_has_reclaimed_state(const char *name, bool use_exchange_id); |
479 | extern void nfsd4_recdir_purge_old(void); | ||
480 | extern void nfsd4_create_clid_dir(struct nfs4_client *clp); | ||
481 | extern void nfsd4_remove_clid_dir(struct nfs4_client *clp); | ||
482 | extern void release_session_client(struct nfsd4_session *); | 478 | extern void release_session_client(struct nfsd4_session *); |
483 | extern __be32 nfs4_validate_stateid(struct nfs4_client *, stateid_t *); | 479 | extern __be32 nfs4_validate_stateid(struct nfs4_client *, stateid_t *); |
484 | extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *); | 480 | extern void nfsd4_purge_closed_stateid(struct nfs4_stateowner *); |
485 | 481 | ||
482 | /* nfs4recover operations */ | ||
483 | extern int nfsd4_client_tracking_init(struct net *net); | ||
484 | extern void nfsd4_client_tracking_exit(struct net *net); | ||
485 | extern void nfsd4_client_record_create(struct nfs4_client *clp); | ||
486 | extern void nfsd4_client_record_remove(struct nfs4_client *clp); | ||
487 | extern int nfsd4_client_record_check(struct nfs4_client *clp); | ||
488 | extern void nfsd4_record_grace_done(struct net *net, time_t boot_time); | ||
486 | #endif /* NFSD4_STATE_H */ | 489 | #endif /* NFSD4_STATE_H */ |