ceph: WQ_NON_REENTRANT is meaningless and going away
authorTejun Heo <[email protected]>
Tue, 30 Jul 2013 12:40:27 +0000 (08:40 -0400)
committerSage Weil <[email protected]>
Sat, 10 Aug 2013 00:55:29 +0000 (17:55 -0700)
dbf2576e37 ("workqueue: make all workqueues non-reentrant") made
WQ_NON_REENTRANT no-op and the flag is going away.  Remove its usages.

This patch doesn't introduce any behavior changes.

Signed-off-by: Tejun Heo <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Cc: [email protected]
net/ceph/messenger.c

index eb0a46a49bd42351d23878f118384ab09a8d2ee8..dd9b5857ef5cdad15dd50f69455d2b5929f3f8c8 100644 (file)
@@ -290,7 +290,7 @@ int ceph_msgr_init(void)
        if (ceph_msgr_slab_init())
                return -ENOMEM;
 
-       ceph_msgr_wq = alloc_workqueue("ceph-msgr", WQ_NON_REENTRANT, 0);
+       ceph_msgr_wq = alloc_workqueue("ceph-msgr", 0, 0);
        if (ceph_msgr_wq)
                return 0;