]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sunrpc/svc.c
SUNRPC: switch the RPC server to use the new rpcbind registration API
[karo-tx-linux.git] / net / sunrpc / svc.c
index b4db53ff143577a06fd72d2ef83418b4de194e9d..b7503c103ae814f012041a6f8f02e073c1d1ab26 100644 (file)
@@ -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) {