Merge tag 'fbdev-4.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux
[cascardo/linux.git] / drivers / infiniband / core / ucma.c
index 2825ece..9520154 100644 (file)
@@ -1638,7 +1638,8 @@ static int ucma_open(struct inode *inode, struct file *filp)
        if (!file)
                return -ENOMEM;
 
-       file->close_wq = create_singlethread_workqueue("ucma_close_id");
+       file->close_wq = alloc_ordered_workqueue("ucma_close_id",
+                                                WQ_MEM_RECLAIM);
        if (!file->close_wq) {
                kfree(file);
                return -ENOMEM;