diff options
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 8 |
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 | |||
35 | struct nfs4_minor_version_ops { | 38 | struct 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 | ||
203 | struct nfs4_state_maintenance_ops { | 206 | struct 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; | |||
213 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); | 216 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); |
214 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); | 217 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); |
215 | extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); | 218 | extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); |
216 | extern int nfs4_proc_async_renew(struct nfs_client *, struct rpc_cred *); | ||
217 | extern int nfs4_proc_renew(struct nfs_client *, struct rpc_cred *); | ||
218 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); | 219 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); |
219 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); | 220 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); |
220 | extern int nfs4_do_close(struct nfs4_state *state, gfp_t gfp_mask, int wait, bool roc); | 221 | extern 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); | |||
325 | extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t); | 326 | extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t); |
326 | extern void nfs4_schedule_lease_recovery(struct nfs_client *); | 327 | extern void nfs4_schedule_lease_recovery(struct nfs_client *); |
327 | extern void nfs4_schedule_state_manager(struct nfs_client *); | 328 | extern void nfs4_schedule_state_manager(struct nfs_client *); |
329 | extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp); | ||
328 | extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); | 330 | extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); |
329 | extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags); | 331 | extern void nfs41_handle_sequence_flag_errors(struct nfs_client *clp, u32 flags); |
330 | extern void nfs41_handle_recall_slot(struct nfs_client *clp); | 332 | extern void nfs41_handle_recall_slot(struct nfs_client *clp); |