From: Chuck Lever Date: Thu, 29 Mar 2007 20:48:16 +0000 (-0400) Subject: SUNRPC: switch the RPC server to use the new rpcbind registration API X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=260800142071a3a33e4523c7578358c6e29c0f53;p=openwrt%2Fstaging%2Fblogic.git SUNRPC: switch the RPC server to use the new rpcbind registration API Eventually this interface will support versions 3 and 4 of the rpcbind protocol, which will allow the Linux RPC server to register services on IPv6 addresses. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index b4db53ff1435..b7503c103ae8 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -757,7 +757,7 @@ svc_register(struct svc_serv *serv, int proto, unsigned short port) if (progp->pg_vers[i]->vs_hidden) continue; - error = rpc_register(progp->pg_prog, i, proto, port, &dummy); + error = rpcb_register(progp->pg_prog, i, proto, port, &dummy); if (error < 0) break; if (port && !dummy) {