SUNRPC: remove XS_SENDMSG_RETRY
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 16 Apr 2008 20:51:38 +0000 (16:51 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 19 Apr 2008 20:55:05 +0000 (16:55 -0400)
commit06b4b681ababc20596aa947595714710f557131d
tree84a437ee1922b63931075faf389db87650e0ca79
parentd2b831416365e8b1f27809b62d5e4260883956cc
SUNRPC: remove XS_SENDMSG_RETRY

The condition for exiting from the loop in xs_tcp_send_request() should be
that we find we're not making progress (i.e. number of bytes sent is 0).

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