NFSv4: Fix a typo in nfs41_sequence_process
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Jun 2018 16:50:50 +0000 (12:50 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 09:25:02 +0000 (11:25 +0200)
commitfb7fecb4d90fd0808b45f50befa7a07917b3ff9e
tree74db7b67a00555effd8d7ad56015ee104f3b32a0
parent63715ead82c5d784798427ba5e5d21b9bc7717e2
NFSv4: Fix a typo in nfs41_sequence_process

commit 995891006ccbb73c0c9c3923cf9d25c4d07ec16b upstream.

We want to compare the slot_id to the highest slot number advertised by the
server.

Fixes: 3be0f80b5fe9c ("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>
fs/nfs/nfs4proc.c