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:11:36 +0000 (20:11 +0100)
commit1363f37fbd241c8341816513dfd07b3d9ed3a4ba
treee6210dc13f035ea7ba0b95a367198b147aba5429
parent867ae74fb190082a12863a4719c1f6fead35c50a
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