diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2008-06-25 17:24:39 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-09 12:09:35 -0400 |
commit | 6a774051573042cdeb57e81f77b36c25e5856739 (patch) | |
tree | c563074d6c0834954a14e4b6e5c0bef650b82ca9 | |
parent | fc200e794d723bc88c39859e8f096b717532f9c9 (diff) |
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>
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 2 |
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: | |||
575 | static struct rpc_procinfo rpcb_procedures2[] = { | 575 | static struct rpc_procinfo rpcb_procedures2[] = { |
576 | PROC(SET, mapping, set), | 576 | PROC(SET, mapping, set), |
577 | PROC(UNSET, mapping, set), | 577 | PROC(UNSET, mapping, set), |
578 | PROC(GETADDR, mapping, getport), | 578 | PROC(GETPORT, mapping, getport), |
579 | }; | 579 | }; |
580 | 580 | ||
581 | static struct rpc_procinfo rpcb_procedures3[] = { | 581 | static struct rpc_procinfo rpcb_procedures3[] = { |