summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 4e7a31466139..79aa11b3efa5 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -1802,7 +1802,8 @@ struct request_queue *blk_mq_init_queue(struct blk_mq_tag_set *set)
1802 if (!hctxs[i]) 1802 if (!hctxs[i])
1803 goto err_hctxs; 1803 goto err_hctxs;
1804 1804
1805 if (!zalloc_cpumask_var(&hctxs[i]->cpumask, GFP_KERNEL)) 1805 if (!zalloc_cpumask_var_node(&hctxs[i]->cpumask, GFP_KERNEL,
1806 node))
1806 goto err_hctxs; 1807 goto err_hctxs;
1807 1808
1808 atomic_set(&hctxs[i]->nr_active, 0); 1809 atomic_set(&hctxs[i]->nr_active, 0);