aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r--fs/nfs/nfs4_fs.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h
index 1a652a0bd7db..693ae22f8731 100644
--- a/fs/nfs/nfs4_fs.h
+++ b/fs/nfs/nfs4_fs.h
@@ -32,6 +32,9 @@ enum nfs4_session_state {
32 NFS4_SESSION_DRAINING, 32 NFS4_SESSION_DRAINING,
33}; 33};
34 34
35#define NFS4_RENEW_TIMEOUT 0x01
36#define NFS4_RENEW_DELEGATION_CB 0x02
37
35struct nfs4_minor_version_ops { 38struct nfs4_minor_version_ops {
36 u32 minor_version; 39 u32 minor_version;
37 40
@@ -201,7 +204,7 @@ struct nfs4_state_recovery_ops {
201}; 204};
202 205
203struct nfs4_state_maintenance_ops { 206struct nfs4_state_maintenance_ops {
204 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *); 207 int (*sched_state_renewal)(struct nfs_client *, struct rpc_cred *, unsigned);
205 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *); 208 struct rpc_cred * (*get_state_renewal_cred_locked)(struct nfs_client *);
206 int (*renew_lease)(struct nfs_client *, struct rpc_cred *); 209 int (*renew_lease)(struct nfs_client *, struct rpc_cred *);
207}; 210};
@@ -213,8 +216,6 @@ extern const struct inode_operations nfs4_dir_inode_operations;
213extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); 216extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *);
214extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); 217extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *);
215extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); 218extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred);
216extern int nfs4_proc_async_renew(struct nfs_client *, struct rpc_cred *);
217extern int nfs4_proc_renew(struct nfs_client *, struct rpc_cred *);
218extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); 219extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *);
219extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); 220extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *);
220extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait, bool roc); 221extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait, bool roc);
@@ -325,6 +326,7 @@ extern void nfs4_close_sync(struct nfs4_state *, fmode_t);
325extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t); 326extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
326extern void nfs4_schedule_lease_recovery(struct nfs_client *); 327extern void nfs4_schedule_lease_recovery(struct nfs_client *);
327extern void nfs4_schedule_state_manager(struct nfs_client *); 328extern void nfs4_schedule_state_manager(struct nfs_client *);
329extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp);
328extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); 330extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *);
329extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags); 331extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags);
330extern void nfs41_handle_recall_slot(struct nfs_client *clp); 332extern void nfs41_handle_recall_slot(struct nfs_client *clp);