]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: fixup "Convert to new hotplug state machine"
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 23 Sep 2016 13:02:38 +0000 (15:02 +0200)
committerJens Axboe <axboe@fb.com>
Fri, 23 Sep 2016 15:49:32 +0000 (09:49 -0600)
commit255a44b9517158eaec8d3412eb9df12f77d43346
tree76f5a1818cd0323ae09debb061a3f23d625ca2d6
parent5df55e380e643b05cdb1d6bfaf27ba196a07502e
blk-mq: fixup "Convert to new hotplug state machine"

The "blk_mq_queue_reinit_dead()" just cleared the cpumask instead doing
a copy. Since we might never had an online callback we could end up with
a ZERO mask which in turn leads to crash as test robot demonstarted.

Fixes: 5df55e380e64 ("blk-mq: Convert to new hotplug state machine")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq.c