mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
NFSv4: Fix a typo in nfs41_sequence_process
commit995891006c
upstream. We want to compare the slot_id to the highest slot number advertised by the server. Fixes:3be0f80b5f
("NFSv4.1: Fix up replays of interrupted requests") Cc: stable@vger.kernel.org # 4.15+ Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
63715ead82
commit
fb7fecb4d9
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ static int nfs41_sequence_process(struct rpc_task *task,
|
|||
* The slot id we used was probably retired. Try again
|
||||
* using a different slot id.
|
||||
*/
|
||||
if (slot->seq_nr < slot->table->target_highest_slotid)
|
||||
if (slot->slot_nr < slot->table->target_highest_slotid)
|
||||
goto session_recover;
|
||||
goto retry_nowait;
|
||||
case -NFS4ERR_SEQ_MISORDERED:
|
||||
|
|
Loading…
Reference in a new issue