diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2019-08-17 00:48:36 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2019-08-19 17:59:28 +0300 |
commit | d6dfe43ec6062beea5ba1172b957e74a13c95b86 (patch) | |
tree | cbe54abb9bc218fbb9b5fdb830a8d0706a38e9cb /net/sunrpc/xprtrdma/svc_rdma_transport.c | |
parent | 10fa8acf0fa6ed79ddb662488addb3ba71e9db60 (diff) | |
download | linux-d6dfe43ec6062beea5ba1172b957e74a13c95b86.tar.xz |
svcrdma: Remove svc_rdma_wq
Clean up: the system workqueue will work just as well.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_transport.c')
-rw-r--r-- | net/sunrpc/xprtrdma/svc_rdma_transport.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sunrpc/xprtrdma/svc_rdma_transport.c b/net/sunrpc/xprtrdma/svc_rdma_transport.c index 3fe665152d95..18d6eb3686e7 100644 --- a/net/sunrpc/xprtrdma/svc_rdma_transport.c +++ b/net/sunrpc/xprtrdma/svc_rdma_transport.c @@ -630,8 +630,9 @@ static void svc_rdma_free(struct svc_xprt *xprt) { struct svcxprt_rdma *rdma = container_of(xprt, struct svcxprt_rdma, sc_xprt); + INIT_WORK(&rdma->sc_work, __svc_rdma_free); - queue_work(svc_rdma_wq, &rdma->sc_work); + schedule_work(&rdma->sc_work); } static int svc_rdma_has_wspace(struct svc_xprt *xprt) |