SUNRPC: Fix rpc_task_force_reencode
commit2574cc9f4ffc6c681c9177111357efe5b76f0e36
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Aug 2009 15:12:12 +0000 (28 11:12 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 29 Aug 2009 05:35:56 +0000 (28 19:35 -1000)
tree5e220b5a26e25df9fc03b58c7fa4daeebafce062
parentea6bff368548d79529421a9dc0710fc5330eb504
SUNRPC: Fix rpc_task_force_reencode

This patch fixes the bug that was reported in
  http://bugzilla.kernel.org/show_bug.cgi?id=14053

If we're in the case where we need to force a reencode and then resend of
the RPC request, due to xprt_transmit failing with a networking error, then
we _must_ retransmit the entire request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/clnt.c