From: Ming Lei Date: Thu, 25 Sep 2014 15:23:38 +0000 (+0800) Subject: blk-mq: handle failure path for initializing hctx X-Git-Tag: fixes-against-v3.18-rc2~51^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08e98fc6016c890c2f4ffba6decc0ca9d2d5d7f8;p=pandora-kernel.git blk-mq: handle failure path for initializing hctx Failure of initializing one hctx isn't handled, so this patch introduces blk_mq_init_hctx() and its pair to handle it explicitly. Also this patch makes code cleaner. Reviewed-by: Christoph Hellwig Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed