NFSv4.1: Reinitialise sequence results before retransmitting a request
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 1 Mar 2019 17:13:34 +0000 (12:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 13:35:29 +0000 (14:35 +0100)
commit086135b25b925a8142b9c612eddc87d2d19c2faa
tree7ac53a1b80776bcd51f2b6f00d94c3963dc5a997
parent2fa903f97d335362c7def3bca5781656afe32920
NFSv4.1: Reinitialise sequence results before retransmitting a request

commit c1dffe0bf7f9c3d57d9f237a7cb2a81e62babd2b upstream.

If we have to retransmit a request, we should ensure that we reinitialise
the sequence results structure, since in the event of a signal
we need to treat the request as if it had not been sent.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c