summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-13 12:52:43 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:10 -0500
commit977ac3157328239a0f4074b13a3d9eb5c832cd6c (patch)
tree6b309227b39229a0afd1158c768f3a796e755791 /include/linux/sunrpc
parentc2550e07a61a4528673fb85aaaee16048b7cf6cc (diff)
downloadop-kernel-dev-977ac3157328239a0f4074b13a3d9eb5c832cd6c.zip
op-kernel-dev-977ac3157328239a0f4074b13a3d9eb5c832cd6c.tar.gz
SUNRPC: register rpcbind programs in passed network namespase context
Registering rpcbind program requires rpcbind clients, which are per network namespace context. 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.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h
index bfd61852..b0b3e57 100644
--- a/include/linux/sunrpc/clnt.h
+++ b/include/linux/sunrpc/clnt.h
@@ -138,8 +138,9 @@ void rpc_task_release_client(struct rpc_task *);
int rpcb_create_local(void);
void rpcb_put_local(void);
-int rpcb_register(u32, u32, int, unsigned short);
-int rpcb_v4_register(const u32 program, const u32 version,
+int rpcb_register(struct net *, u32, u32, int, unsigned short);
+int rpcb_v4_register(struct net *net, const u32 program,
+ const u32 version,
const struct sockaddr *address,
const char *netid);
void rpcb_getport_async(struct rpc_task *);
OpenPOWER on IntegriCloud