Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a5e14c93 authored by Trond Myklebust's avatar Trond Myklebust Committed by Anna Schumaker
Browse files

Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION replies to OP_SEQUENCE"



This reverts commit 2cf10cdd.

The patch has been seen to cause excessive looping.

Reported-by: default avatarOlga Kornievskaia <aglo@umich.edu>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
Cc: stable@vger.kernel.org # 4.10+
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 9d8cacbf
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -768,10 +768,6 @@ static int nfs41_sequence_process(struct rpc_task *task,
	case -NFS4ERR_SEQ_FALSE_RETRY:
		++slot->seq_nr;
		goto retry_nowait;
	case -NFS4ERR_DEADSESSION:
	case -NFS4ERR_BADSESSION:
		nfs4_schedule_session_recovery(session, res->sr_status);
		goto retry_nowait;
	default:
		/* Just update the slot sequence no. */
		slot->seq_done = 1;