svcrpc: remove handling of unknown errors from svc_recv
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 18 Aug 2012 01:47:53 +0000 (21:47 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Aug 2012 21:42:00 +0000 (17:42 -0400)
commit5b444cc9a4c979aa0fa185c8ddca221462a34b7a
tree7a2b23292f279c31bacdabd95a709605e194137a
parent9f9d2ebe693a98d517257e1a39f61120b4473b96
svcrpc: remove handling of unknown errors from svc_recv

svc_recv() returns only -EINTR or -EAGAIN.  If we really want to worry
about the case where it has a bug that causes it to return something
else, we could stick a WARN() in svc_recv.  But it's silly to require
every caller to have all this boilerplate to handle that case.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/lockd/svc.c
fs/nfs/callback.c
fs/nfsd/nfssvc.c