From: Chuck Lever Date: Wed, 25 Jun 2008 21:24:39 +0000 (-0400) Subject: SUNRPC: Use rpcbind version 2 GETPORT X-Git-Tag: v2.6.27-rc1~1052^2~1^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6a774051573042cdeb57e81f77b36c25e5856739;p=linux-2.6-omap-h63xx.git SUNRPC: Use rpcbind version 2 GETPORT Clean up: Change the version 2 procedure name to GETPORT. It's the same procedure number as GETADDR, but version 2 implementations usually refer to it as GETPORT. This also now matches the procedure name used in the version 2 procedure entry in the rpcb_next_version[] array, making it slightly less confusing. Signed-off-by: Chuck Lever Signed-off-by: Trond Myklebust --- diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index b23a719aca3..a70cc1e1179 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c @@ -575,7 +575,7 @@ out_err: static struct rpc_procinfo rpcb_procedures2[] = { PROC(SET, mapping, set), PROC(UNSET, mapping, set), - PROC(GETADDR, mapping, getport), + PROC(GETPORT, mapping, getport), }; static struct rpc_procinfo rpcb_procedures3[] = {