From: Chuck Lever Date: Mon, 10 Dec 2007 19:56:38 +0000 (-0500) Subject: SUNRPC: RPC version numbers are u32 X-Git-Tag: v2.6.25-rc1~1146^2~60 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0a48f5d70fa9e87269d076fe27f3563f4375c479;p=linux-2.6-omap-h63xx.git SUNRPC: RPC version numbers are u32 Clean up: use correct type for RPC version numbers in rpcbind client. 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 c1310f79622..9696b512706 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) } static struct rpc_clnt *rpcb_create(char *hostname, struct sockaddr *srvaddr, - size_t salen, int proto, int version, + size_t salen, int proto, u32 version, int privileged) { struct rpc_create_args args = { @@ -311,7 +311,7 @@ static struct rpc_task *rpcb_call_async(struct rpc_clnt *rpcb_clnt, struct rpcbi void rpcb_getport_async(struct rpc_task *task) { struct rpc_clnt *clnt = task->tk_client; - int bind_version; + u32 bind_version; struct rpc_xprt *xprt = task->tk_xprt; struct rpc_clnt *rpcb_clnt; static struct rpcbind_args *map;