summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-13 12:52:51 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:11 -0500
commitf7a30c18e8d673c996095420a026a28433cb4096 (patch)
treea5f84a1fed803c837be1570b0faa073219fdc399 /include/linux/sunrpc
parent977ac3157328239a0f4074b13a3d9eb5c832cd6c (diff)
downloadtalos-op-linux-f7a30c18e8d673c996095420a026a28433cb4096.tar.gz
talos-op-linux-f7a30c18e8d673c996095420a026a28433cb4096.zip
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.h4
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 *);
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,
OpenPOWER on IntegriCloud