diff options
| author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2012-01-13 03:52:43 -0500 |
|---|---|---|
| committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-01-31 19:28:10 -0500 |
| commit | 977ac3157328239a0f4074b13a3d9eb5c832cd6c (patch) | |
| tree | 6b309227b39229a0afd1158c768f3a796e755791 /include/linux | |
| parent | c2550e07a61a4528673fb85aaaee16048b7cf6cc (diff) | |
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')
| -rw-r--r-- | include/linux/sunrpc/clnt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/sunrpc/clnt.h b/include/linux/sunrpc/clnt.h index bfd61852b718..b0b3e572a619 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 *); | |||
| 138 | 138 | ||
| 139 | int rpcb_create_local(void); | 139 | int rpcb_create_local(void); |
| 140 | void rpcb_put_local(void); | 140 | void rpcb_put_local(void); |
| 141 | int rpcb_register(u32, u32, int, unsigned short); | 141 | int rpcb_register(struct net *, u32, u32, int, unsigned short); |
| 142 | int rpcb_v4_register(const u32 program, const u32 version, | 142 | int rpcb_v4_register(struct net *net, const u32 program, |
| 143 | const u32 version, | ||
| 143 | const struct sockaddr *address, | 144 | const struct sockaddr *address, |
| 144 | const char *netid); | 145 | const char *netid); |
| 145 | void rpcb_getport_async(struct rpc_task *); | 146 | void rpcb_getport_async(struct rpc_task *); |
