diff options
-rw-r--r-- | include/linux/sunrpc/clnt.h | 2 | ||||
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index 5a13da2573b0..3e9addc741c1 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -125,7 +125,7 @@ void rpc_shutdown_client(struct rpc_clnt *); | |||
125 | void rpc_release_client(struct rpc_clnt *); | 125 | void rpc_release_client(struct rpc_clnt *); |
126 | 126 | ||
127 | int rpcb_register(u32, u32, int, unsigned short, int *); | 127 | int rpcb_register(u32, u32, int, unsigned short, int *); |
128 | int rpcb_getport_sync(struct sockaddr_in *, __u32, __u32, int); | 128 | int rpcb_getport_sync(struct sockaddr_in *, u32, u32, int); |
129 | void rpcb_getport_async(struct rpc_task *); | 129 | void rpcb_getport_async(struct rpc_task *); |
130 | 130 | ||
131 | void rpc_call_start(struct rpc_task *); | 131 | void rpc_call_start(struct rpc_task *); |
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 8962ac6b4c11..77af989ecc9c 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -205,8 +205,7 @@ int rpcb_register(u32 prog, u32 vers, int prot, unsigned short port, int *okay) | |||
205 | * | 205 | * |
206 | * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 | 206 | * XXX: Needs to support IPv6, and rpcbind versions 3 and 4 |
207 | */ | 207 | */ |
208 | int rpcb_getport_sync(struct sockaddr_in *sin, __u32 prog, | 208 | int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) |
209 | __u32 vers, int prot) | ||
210 | { | 209 | { |
211 | struct rpcbind_args map = { | 210 | struct rpcbind_args map = { |
212 | .r_prog = prog, | 211 | .r_prog = prog, |