]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: rpcb_register() should handle errors silently
authorChuck Lever <chuck.lever@oracle.com>
Thu, 19 Mar 2009 00:47:44 +0000 (20:47 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 28 Mar 2009 19:59:48 +0000 (15:59 -0400)
commit5baeab16ad340252967cecdf687c358e939bf61c
tree2a1e46fc7f6f78c008d71415c010f555a404922a
parent2871e311cca955c9bf52c2bb3a04e8baa05eb810
SUNRPC: rpcb_register() should handle errors silently

Move error reporting for RPC registration to rpcb_register's caller.

This way the caller can choose to recover silently from certain
errors, but report errors it does not recognize.  Error reporting
for kernel RPC service registration is now handled in one place.

This patch is part of a series that addresses
   http://bugzilla.kernel.org/show_bug.cgi?id=12256

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/rpcb_clnt.c
net/sunrpc/svc.c