diff options
author | Pavel Emelyanov <xemul@parallels.com> | 2010-09-29 08:04:18 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2010-10-01 17:18:55 -0400 |
commit | 62832c039eab9d03cd28a66427ce8276988f28b0 (patch) | |
tree | 47d0b7fbd5ca567aa31661146ba16218149d67c8 /net/sunrpc/xprtrdma | |
parent | fc5d00b04a3a58cac8620403dfe9f43f72578ec1 (diff) |
sunrpc: Pull net argument downto svc_create_socket
After this the socket creation in it knows the context.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index edea15a54e51..950a206600c0 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c | |||
@@ -52,6 +52,7 @@ | |||
52 | #define RPCDBG_FACILITY RPCDBG_SVCXPRT | 52 | #define RPCDBG_FACILITY RPCDBG_SVCXPRT |
53 | 53 | ||
54 | static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, | 54 | static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, |
55 | struct net *net, | ||
55 | struct sockaddr *sa, int salen, | 56 | struct sockaddr *sa, int salen, |
56 | int flags); | 57 | int flags); |
57 | static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt); | 58 | static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt); |
@@ -670,6 +671,7 @@ static int rdma_cma_handler(struct rdma_cm_id *cma_id, | |||
670 | * Create a listening RDMA service endpoint. | 671 | * Create a listening RDMA service endpoint. |
671 | */ | 672 | */ |
672 | static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, | 673 | static struct svc_xprt *svc_rdma_create(struct svc_serv *serv, |
674 | struct net *net, | ||
673 | struct sockaddr *sa, int salen, | 675 | struct sockaddr *sa, int salen, |
674 | int flags) | 676 | int flags) |
675 | { | 677 | { |