blk-throttle: use queue_is_rq_based
authorweiping zhang <zhangweiping@didichuxing.com>
Fri, 19 Jan 2018 23:34:25 +0000 (07:34 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 20 Jan 2018 04:10:20 +0000 (21:10 -0700)
commit475a055e62a1eb92f4358ad8a9059df973c190ac
treee020ba3697a07018d72c5a10a6470c8baa03bb1a
parentf5ced52aaa5494c1feb9f80252cb2a2cde0dace8
blk-throttle: use queue_is_rq_based

use queue_is_rq_based instead of open code.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c