RDMA: Update workqueue usage
[linux-3.10.git] / drivers / infiniband / core / umem.c
index 415e186..b645e55 100644 (file)
@@ -262,7 +262,7 @@ void ib_umem_release(struct ib_umem *umem)
                        umem->mm   = mm;
                        umem->diff = diff;
 
-                       schedule_work(&umem->work);
+                       queue_work(ib_wq, &umem->work);
                        return;
                }
        } else