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)
commitee071eff0f1afafa9917254a6e4ee19d28085f1d
tree073da279fab6928783aca5849d90fe687f337c45
parent0a6605213040dd2fb479f0d1a9a87a1d7fa70904
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