From: Matias Bjorling Date: Wed, 18 Dec 2013 12:41:43 +0000 (+0100) Subject: null_blk: refactor init and init errors code paths X-Git-Tag: v3.13-rc6~5^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d263a7856cbaf26dd89b671e2161c4a49f8461b;p=pandora-kernel.git null_blk: refactor init and init errors code paths Simplify the initialization logic of the three block-layers. - The queue initialization is split into two parts. This allows reuse of code when initializing the sq-, bio- and mq-based layers. - Set submit_queues default value to 0 and always set it at init time. - Simplify the init error code paths. Signed-off-by: Matias Bjorling Signed-off-by: Jens Axboe --- Reading git-diff-tree failed