svcrpc: make xpo_recvfrom return only >=0
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 18 Aug 2012 01:35:24 +0000 (21:35 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 21:41:07 +0000 (17:41 -0400)
commit9f9d2ebe693a98d517257e1a39f61120b4473b96
treee90209c5bee26637b48e9d4c1f382b780a5921ad
parentaf6d572134b012ca92c4efc8a2f1cadbe5d01064
svcrpc: make xpo_recvfrom return only >=0

The only errors returned from xpo_recvfrom have been -EAGAIN and
-EAFNOSUPPORT.  The latter was removed by a previous patch.  That leaves
only -EAGAIN, which is treated just like 0 by the caller (svc_recv).

So, just ditch -EAGAIN and return 0 instead.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c
net/sunrpc/svcsock.c