diff options
author | Tejun Heo <tj@kernel.org> | 2013-07-30 16:40:21 +0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2013-08-23 17:02:13 +0400 |
commit | 670368a8ddc5df56437444c33b8089afc547c30a (patch) | |
tree | db166267fe4c33071ed9245d6b18f2684eaa4579 /drivers/md/dm.c | |
parent | b936bf8b785f0fbe083d203049e4da1c56ec788f (diff) | |
download | linux-670368a8ddc5df56437444c33b8089afc547c30a.tar.xz |
dm: stop using WQ_NON_REENTRANT
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 <tj@kernel.org>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 9e39d2b64bf8..ef095a96d039 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -1946,8 +1946,7 @@ static struct mapped_device *alloc_dev(int minor) add_disk(md->disk); format_dev_t(md->name, MKDEV(_major, minor)); - md->wq = alloc_workqueue("kdmflush", - WQ_NON_REENTRANT | WQ_MEM_RECLAIM, 0); + md->wq = alloc_workqueue("kdmflush", WQ_MEM_RECLAIM, 0); if (!md->wq) goto bad_thread; |