diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-13 03:52:51 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:11 -0500 |
commit | f7a30c18e8d673c996095420a026a28433cb4096 (patch) | |
tree | a5f84a1fed803c837be1570b0faa073219fdc399 /include | |
parent | 977ac3157328239a0f4074b13a3d9eb5c832cd6c (diff) |
SUNRPC: parametrize local rpcbind clients creation with net ns
These client are per network namespace and thus can be created for different
network namespaces.
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sunrpc/clnt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index b0b3e572a619..e891a8a18cb3 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h | |||
@@ -136,8 +136,8 @@ void rpc_shutdown_client(struct rpc_clnt *); | |||
136 | void rpc_release_client(struct rpc_clnt *); | 136 | void rpc_release_client(struct rpc_clnt *); |
137 | void rpc_task_release_client(struct rpc_task *); | 137 | void rpc_task_release_client(struct rpc_task *); |
138 | 138 | ||
139 | int rpcb_create_local(void); | 139 | int rpcb_create_local(struct net *); |
140 | void rpcb_put_local(void); | 140 | void rpcb_put_local(struct net *); |
141 | int rpcb_register(struct net *, u32, u32, int, unsigned short); | 141 | int rpcb_register(struct net *, u32, u32, int, unsigned short); |
142 | int rpcb_v4_register(struct net *net, const u32 program, | 142 | int rpcb_v4_register(struct net *net, const u32 program, |
143 | const u32 version, | 143 | const u32 version, |