Skip to content

Commit 1d15d12

Browse files
olgakorn1Trond Myklebust
authored andcommitted
NFSv4.1: don't retry BIND_CONN_TO_SESSION on session error
There is no reason to retry the operation if a session error had occurred in such case result structure isn't filled out. Fixes: dff5853 ("NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION") Signed-off-by: Olga Kornievskaia <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
1 parent 82ee41b commit 1d15d12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/nfs/nfs4proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8340,6 +8340,7 @@ nfs4_bind_one_conn_to_session_done(struct rpc_task *task, void *calldata)
83408340
case -NFS4ERR_DEADSESSION:
83418341
nfs4_schedule_session_recovery(clp->cl_session,
83428342
task->tk_status);
8343+
return;
83438344
}
83448345
if (args->dir == NFS4_CDFC4_FORE_OR_BOTH &&
83458346
res->dir != NFS4_CDFS4_BOTH) {

0 commit comments

Comments
 (0)