commit | 9a30b096b543932de218dd3501b5562e00a8792d | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Mar 12 23:53:26 2015 -0400 |
committer | Jens Axboe <axboe@fb.com> | Fri Mar 13 08:22:32 2015 -0600 |
tree | 7194bdfc9fabf90881612c2fe442551556dee8d3 | |
parent | b8be79b7144527990377cb032feb5220170712b3 [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>