summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpcb_clnt.c
diff options
context:
space:
mode:
authorChuck Lever2008-06-25 23:24:39 +0200
committerTrond Myklebust2008-07-09 18:09:35 +0200
commit6a774051573042cdeb57e81f77b36c25e5856739 (patch)
treec563074d6c0834954a14e4b6e5c0bef650b82ca9 /net/sunrpc/rpcb_clnt.c
parentSUNRPC: Document some naked integers in rpcbind client (diff)
downloadkernel-qcow2-linux-6a774051573042cdeb57e81f77b36c25e5856739.tar.gz
kernel-qcow2-linux-6a774051573042cdeb57e81f77b36c25e5856739.tar.xz
kernel-qcow2-linux-6a774051573042cdeb57e81f77b36c25e5856739.zip
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 <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpcb_clnt.c')
-rw-r--r--net/sunrpc/rpcb_clnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c
index b23a719aca30..a70cc1e11792 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[] = {