SUNRPC: Ensure we exit early in case of an encode error
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 15 May 2008 02:48:25 +0000 (19:48 -0700)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:08:41 +0000 (12:08 -0400)
commit8b39f2b41033754e7ba669503d27268beb1b524a
tree50377c7d6c4918141f3b8bda5040477854458e7c
parent2116271a347d1181b5497602c2bfada1de8fd53b
SUNRPC: Ensure we exit early in case of an encode error

All errors from call_encode(), with exception of EAGAIN are fatal, so we
should immediately return instead of proceeding to xprt_transmit().

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