diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-11-26 13:13:29 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-12-05 18:30:45 -0500 |
commit | 330212796756ca2752b2a70a83860e145b77487c (patch) | |
tree | 5a2e26342a711c4a76136d935d658f73c59492b4 /fs/nfs/nfs4_fs.h | |
parent | 5d63360dd8daffc2bc86531e9a44ff9d4881b102 (diff) |
NFSv4: Move nfs4_wait_clnt_recover and nfs4_client_recover_expired_lease
nfs4_wait_clnt_recover and nfs4_client_recover_expired_lease are both
generic state related functions. As such, they belong in nfs4state.c,
and not nfs4proc.c
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
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 *); |