From: Mike Snitzer Date: Fri, 13 Mar 2015 03:53:26 +0000 (-0400) Subject: blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path X-Git-Tag: omap-for-v4.2/o2_dc~109^2~9^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a30b096b543932de218dd3501b5562e00a8792d;p=pandora-kernel.git 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 Reviewed-by: Ming Lei Cc: stable@kernel.org Signed-off-by: Jens Axboe --- Reading git-diff-tree failed