summaryrefslogtreecommitdiff
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-03-12 23:53:26 -0400
committerJens Axboe <axboe@fb.com>2015-03-13 08:22:32 -0600
commit9a30b096b543932de218dd3501b5562e00a8792d (patch)
tree7194bdfc9fabf90881612c2fe442551556dee8d3 /block/blk-mq-tag.c
parentb8be79b7144527990377cb032feb5220170712b3 (diff)
blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path
If percpu_ref_init() fails the allocated q and hctxs must get cleaned up; using 'err_map' doesn't allow that to happen. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Reviewed-by: Ming Lei <ming.lei@canonical.com> Cc: stable@kernel.org Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq-tag.c')
0 files changed, 0 insertions, 0 deletions