summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4state.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2016-12-04 19:34:38 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2016-12-04 19:34:38 -0500
commitd94cbf6c73324a008dfb8576f15d089d7f707f24 (patch)
tree0bf72ad0d96ea96049cb8108b691e17764d57267 /fs/nfs/nfs4state.c
parent2cf10cdd486c362f983abdce00dc1127e8ab8c59 (diff)
downloadlinux-d94cbf6c73324a008dfb8576f15d089d7f707f24.tar.gz
linux-d94cbf6c73324a008dfb8576f15d089d7f707f24.tar.bz2
linux-d94cbf6c73324a008dfb8576f15d089d7f707f24.zip
NFSv4.1: Don't schedule lease recovery in nfs4_schedule_session_recovery()
If the session has an error, then we want to start by recovering the session, as any SEQUENCE we send is going to fail with a session error. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs4state.c')
-rw-r--r--fs/nfs/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4state.c b/fs/nfs/nfs4state.c
index 26b6b8b0cae3..95baf7d340f0 100644
--- a/fs/nfs/nfs4state.c
+++ b/fs/nfs/nfs4state.c
@@ -2193,7 +2193,7 @@ void nfs4_schedule_session_recovery(struct nfs4_session *session, int err)
case -NFS4ERR_CONN_NOT_BOUND_TO_SESSION:
set_bit(NFS4CLNT_BIND_CONN_TO_SESSION, &clp->cl_state);
}
- nfs4_schedule_lease_recovery(clp);
+ nfs4_schedule_state_manager(clp);
}
EXPORT_SYMBOL_GPL(nfs4_schedule_session_recovery);