diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-12-10 14:56:38 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 02:05:50 -0500 |
commit | 0a48f5d70fa9e87269d076fe27f3563f4375c479 (patch) | |
tree | 07190661a43c9492d305c25a9615c2340b91b6a5 /net | |
parent | 9f6ad26d2abfd9a2ec4a34b934ca75c4239ab8cf (diff) |
SUNRPC: RPC version numbers are u32
Clean up: use correct type for RPC version numbers in rpcbind client.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index c1310f796224..9696b5127060 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -148,7 +148,7 @@ static void rpcb_wake_rpcbind_waiters(struct rpc_xprt *xprt, int status) | |||
148 | } | 148 | } |
149 | 149 | ||
150 | static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr, | 150 | static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr, |
151 | size_t salen, int proto, int version, | 151 | size_t salen, int proto, u32 version, |
152 | int privileged) | 152 | int privileged) |
153 | { | 153 | { |
154 | struct rpc_create_args args = { | 154 | struct rpc_create_args args = { |
@@ -311,7 +311,7 @@ static struct rpc_task *rpcb_call_async(struct rpc_clnt *rpcb_clnt, struct rpcbi | |||
311 | void rpcb_getport_async(struct rpc_task *task) | 311 | void rpcb_getport_async(struct rpc_task *task) |
312 | { | 312 | { |
313 | struct rpc_clnt *clnt = task->tk_client; | 313 | struct rpc_clnt *clnt = task->tk_client; |
314 | int bind_version; | 314 | u32 bind_version; |
315 | struct rpc_xprt *xprt = task->tk_xprt; | 315 | struct rpc_xprt *xprt = task->tk_xprt; |
316 | struct rpc_clnt *rpcb_clnt; | 316 | struct rpc_clnt *rpcb_clnt; |
317 | static struct rpcbind_args *map; | 317 | static struct rpcbind_args *map; |