]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Clear the request rq_bytes_sent field in xprt_release_write
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Sep 2013 15:09:53 +0000 (11:09 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Oct 2013 22:22:11 +0000 (18:22 -0400)
commit60f53af6cbac8c89da05d34e45c8ea08c28d4153
tree073da279fab6928783aca5849d90fe687f337c45
parentae41cbeea24eb54a1cd90cf53c6ba15861473c6b
SUNRPC: Clear the request rq_bytes_sent field in xprt_release_write

Otherwise the tests of req->rq_bytes_sent in xprt_prepare_transmit
will fail if we're dealing with a resend.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c