]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - net/sunrpc/xprtrdma/svc_rdma_transport.c
svcrdma: Remove svc_rdma_wq
[linux.git] / net / sunrpc / xprtrdma / svc_rdma_transport.c
index 3fe665152d954a650cd01751cabbe548a0a24d0e..18d6eb3686e7fceae1d39a6c719dbc9bf3da4b24 100644 (file)
@@ -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)