From: Jens Axboe Date: Wed, 16 Apr 2014 16:57:18 +0000 (-0600) Subject: bsg: update check for rq based driver for blk-mq X-Git-Tag: omap-for-v3.17/soc-cleanup~42^2~7^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49fd524f95cb4cc699d435e0ebb08b1c6220da6d;p=pandora-kernel.git bsg: update check for rq based driver for blk-mq bsg currently checks ->request_fn to check whether a queue can handle struct request. But with blk-mq, we don't have a request_fn yet are request based. Add a queue_is_rq_based() helper and use that in bsg, I'm guessing this is not the last place we need to update for this. Besides, it better explains what is being checked. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed