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 19:10:10 +0000 (20:10 +0100)
commit4af185feb9df8fae93717df2fe31e51d89139172
tree1ac6178fbac7acea21eed5b7b239858c451866f7
parentecab6ab1c22726d2c439b587d103700f72210b4b
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