From: Ming Lei Date: Tue, 27 May 2014 15:35:14 +0000 (+0800) Subject: block: only allocate/free mq_usage_counter in blk-mq X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~49^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d2936f457a847d9d88a9cc127e0eb7a0ebba0ff;p=pandora-kernel.git block: only allocate/free mq_usage_counter in blk-mq The percpu counter is only used for blk-mq, so move its allocation and free inside blk-mq, and don't allocate it for legacy queue device. Signed-off-by: Ming Lei Signed-off-by: Jens Axboe --- Reading git-diff-tree failed