projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cf10cd
)
NFSv4.1: Don't schedule lease recovery in nfs4_schedule_session_recovery()
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 5 Dec 2016 00:34:38 +0000
(19:34 -0500)
committer
Trond Myklebust
<trond.myklebust@primarydata.com>
Mon, 5 Dec 2016 00:34:38 +0000
(19:34 -0500)
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>
fs/nfs/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4state.c
b/fs/nfs/nfs4state.c
index 26b6b8b0cae3cbb8141fda46d417b76631c0b3af..95baf7d340f04117ef4a123ac3da5972b07693a1 100644
(file)
--- 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);