diff options
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 16b19372c4ba..2f6a9f9d9299 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | #if IS_ENABLED(CONFIG_NFS_V4) | 12 | #if IS_ENABLED(CONFIG_NFS_V4) |
13 | 13 | ||
14 | #define NFS4_MAX_LOOP_ON_RECOVER (10) | ||
15 | |||
14 | struct idmap; | 16 | struct idmap; |
15 | 17 | ||
16 | enum nfs4_client_state { | 18 | enum nfs4_client_state { |
@@ -360,6 +362,8 @@ extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t); | |||
360 | extern void nfs_inode_find_state_and_recover(struct inode *inode, | 362 | extern void nfs_inode_find_state_and_recover(struct inode *inode, |
361 | const nfs4_stateid *stateid); | 363 | const nfs4_stateid *stateid); |
362 | extern void nfs4_schedule_lease_recovery(struct nfs_client *); | 364 | extern void nfs4_schedule_lease_recovery(struct nfs_client *); |
365 | extern int nfs4_wait_clnt_recover(struct nfs_client *clp); | ||
366 | extern int nfs4_client_recover_expired_lease(struct nfs_client *clp); | ||
363 | extern void nfs4_schedule_state_manager(struct nfs_client *); | 367 | extern void nfs4_schedule_state_manager(struct nfs_client *); |
364 | extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp); | 368 | extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp); |
365 | extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); | 369 | extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); |