summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorTejun Heo2011-01-25 14:35:54 +0100
committerTejun Heo2011-01-25 14:35:54 +0100
commitada609ee2ac2e03bd8abb07f9b3e92cd2e650f19 (patch)
treeccc1051a961b12448420428b5a400a6333d3e821 /drivers/md/md.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6 (diff)
downloadkernel-qcow2-linux-ada609ee2ac2e03bd8abb07f9b3e92cd2e650f19.tar.gz
kernel-qcow2-linux-ada609ee2ac2e03bd8abb07f9b3e92cd2e650f19.tar.xz
kernel-qcow2-linux-ada609ee2ac2e03bd8abb07f9b3e92cd2e650f19.zip
workqueue: use WQ_MEM_RECLAIM instead of WQ_RESCUER
WQ_RESCUER is now an internal flag and should only be used in the workqueue implementation proper. Use WQ_MEM_RECLAIM instead. This doesn't introduce any functional difference. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: dm-devel@redhat.com Cc: Neil Brown <neilb@suse.de>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index b76cfc89e1b5..6352e84fd512 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -7321,7 +7321,7 @@ static int __init md_init(void)
{
int ret = -ENOMEM;
- md_wq = alloc_workqueue("md", WQ_RESCUER, 0);
+ md_wq = alloc_workqueue("md", WQ_MEM_RECLAIM, 0);
if (!md_wq)
goto err_wq;