diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-13 12:52:51 +0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:11 -0500 |
commit | f7a30c18e8d673c996095420a026a28433cb4096 (patch) | |
tree | a5f84a1fed803c837be1570b0faa073219fdc399 /include/linux/sunrpc | |
parent | 977ac3157328239a0f4074b13a3d9eb5c832cd6c (diff) | |
download | op-kernel-dev-f7a30c18e8d673c996095420a026a28433cb4096.zip op-kernel-dev-f7a30c18e8d673c996095420a026a28433cb4096.tar.gz |
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/linux/sunrpc')
-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 b0b3e57..e891a8a 100644 --- a/include/linux/sunrpc/clnt.h +++ b/include/linux/sunrpc/clnt.h @@ -136,8 +136,8 @@ void rpc_shutdown_client(struct rpc_clnt *); void rpc_release_client(struct rpc_clnt *); void rpc_task_release_client(struct rpc_task *); -int rpcb_create_local(void); -void rpcb_put_local(void); +int rpcb_create_local(struct net *); +void rpcb_put_local(struct net *); int rpcb_register(struct net *, u32, u32, int, unsigned short); int rpcb_v4_register(struct net *net, const u32 program, const u32 version, |