]> git.karo-electronics.de Git - karo-tx-linux.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)
commit97a32864e6de5944c6356049f60569de01e9ba1f
tree76f5a1818cd0323ae09debb061a3f23d625ca2d6
parent65d5291eee667b9b310123991234f2fb18e51548
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: 65d5291eee66 ("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