git: f2dfe607761c - main - Revert "nfscl: Fix handling of nd_slotid while handling NFSERR_BADSESSION"

From: Rick Macklem <rmacklem_at_FreeBSD.org>
Date: Sat, 27 Aug 2022 23:00:03 UTC
The branch main has been updated by rmacklem:

URL: https://cgit.FreeBSD.org/src/commit/?id=f2dfe607761c9b9dd78a336da20ce8d54c1e3cb6

commit f2dfe607761c9b9dd78a336da20ce8d54c1e3cb6
Author:     Rick Macklem <rmacklem@FreeBSD.org>
AuthorDate: 2022-08-27 22:58:23 +0000
Commit:     Rick Macklem <rmacklem@FreeBSD.org>
CommitDate: 2022-08-27 22:58:23 +0000

    Revert "nfscl: Fix handling of nd_slotid while handling NFSERR_BADSESSION"
    
    Revert this commit, since I now have a better fix to commit.
    
    This reverts commit 8e59ec29e47f6ec64f54ddd88cab388ae536f0ff.
---
 sys/fs/nfs/nfs_commonkrpc.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/fs/nfs/nfs_commonkrpc.c b/sys/fs/nfs/nfs_commonkrpc.c
index d630c6c69ede..916d0182d3ee 100644
--- a/sys/fs/nfs/nfs_commonkrpc.c
+++ b/sys/fs/nfs/nfs_commonkrpc.c
@@ -1169,9 +1169,6 @@ tryagain:
 						*tl++ = txdr_unsigned(slotseq);
 						*tl++ = txdr_unsigned(slotpos);
 						*tl = txdr_unsigned(maxslot);
-						if ((nd->nd_flag &
-						    ND_HASSLOTID) != 0)
-							nd->nd_slotid = slotpos;
 					}
 					if (reterr == NFSERR_BADSESSION ||
 					    reterr == 0) {