diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2015-09-26 19:09:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-09-29 19:32:43 +0200 |
commit | 1356aae08338f1c19ce1c67bf8c543a267688fc3 (patch) | |
tree | f8ef88a7710600ead9bcf533bd7f34618ee4a9b3 /usr | |
parent | NVMe: Set affinity after allocating request queues (diff) | |
download | linux-1356aae08338f1c19ce1c67bf8c543a267688fc3.tar.xz linux-1356aae08338f1c19ce1c67bf8c543a267688fc3.zip |
blk-mq: avoid setting hctx->tags->cpumask before allocation
When unmapped hw queue is remapped after CPU topology is changed,
hctx->tags->cpumask has to be set after hctx->tags is setup in
blk_mq_map_swqueue(), otherwise it causes null pointer dereference.
Fixes: f26cdc8536 ("blk-mq: Shared tag enhancements")
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions