summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 65347cb7d7e1..8c0f80198e52 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -2158,7 +2158,7 @@ static void blk_mq_queue_reinit_work(void)
static int blk_mq_queue_reinit_dead(unsigned int cpu)
{
- cpumask_clear_cpu(cpu, &cpuhp_online_new);
+ cpumask_copy(&cpuhp_online_new, cpu_online_mask);
blk_mq_queue_reinit_work();
return 0;
}