SUNRPC: Fix rpc_task_force_reencode
commit820eeda9c642baf97f908b042b9dc3c6c0bf8995
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 28 Aug 2009 15:12:12 +0000 (28 11:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:33:25 +0000 (8 20:33 -0700)
treeba34c400d89384104e9b7b843446005c3fc2ac07
parent64aeda1a592f38c5d419993d403d2ea1df03ea12
SUNRPC: Fix rpc_task_force_reencode

commit 2574cc9f4ffc6c681c9177111357efe5b76f0e36 upstream.

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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/clnt.c