aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-11-26 13:13:29 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-12-05 18:30:45 -0500
commit330212796756ca2752b2a70a83860e145b77487c (patch)
tree5a2e26342a711c4a76136d935d658f73c59492b4 /fs/nfs/nfs4_fs.h
parent5d63360dd8daffc2bc86531e9a44ff9d4881b102 (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.h4
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
14struct idmap; 16struct idmap;
15 17
16enum nfs4_client_state { 18enum nfs4_client_state {
@@ -360,6 +362,8 @@ extern void nfs4_state_set_mode_locked(struct nfs4_state *, fmode_t);
360extern void nfs_inode_find_state_and_recover(struct inode *inode, 362extern void nfs_inode_find_state_and_recover(struct inode *inode,
361 const nfs4_stateid *stateid); 363 const nfs4_stateid *stateid);
362extern void nfs4_schedule_lease_recovery(struct nfs_client *); 364extern void nfs4_schedule_lease_recovery(struct nfs_client *);
365extern int nfs4_wait_clnt_recover(struct nfs_client *clp);
366extern int nfs4_client_recover_expired_lease(struct nfs_client *clp);
363extern void nfs4_schedule_state_manager(struct nfs_client *); 367extern void nfs4_schedule_state_manager(struct nfs_client *);
364extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp); 368extern void nfs4_schedule_path_down_recovery(struct nfs_client *clp);
365extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *); 369extern void nfs4_schedule_stateid_recovery(const struct nfs_server *, struct nfs4_state *);