summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-02-17 19:50:18 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-02-22 15:17:14 -0500
commita5e14c9376871ee74fe93fdcb380c5d54eaa2d43 (patch)
tree93b7617806e37b8cf1845d679101250301da0aff /fs/nfs
parent9d8cacbf5636657d2cd0dda17438a56d806d3224 (diff)
downloadlinux-stable-a5e14c9376871ee74fe93fdcb380c5d54eaa2d43.tar.gz
linux-stable-a5e14c9376871ee74fe93fdcb380c5d54eaa2d43.tar.bz2
linux-stable-a5e14c9376871ee74fe93fdcb380c5d54eaa2d43.zip
Revert "NFSv4.1: Handle NFS4ERR_BADSESSION/NFS4ERR_DEADSESSION replies to OP_SEQUENCE"
This reverts commit 2cf10cdd486c362f983abdce00dc1127e8ab8c59. The patch has been seen to cause excessive looping. Reported-by: Olga Kornievskaia <aglo@umich.edu> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com> Cc: stable@vger.kernel.org # 4.10+ Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 45271e5994f0..92b2805ffb82 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -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;