From: Jens Axboe Date: Sat, 3 Dec 2016 03:00:14 +0000 (-0700) Subject: blk-mq: blk_account_io_start() takes a bool X-Git-Tag: v4.10-rc1~153^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e85eaf3078bcc8552ca32a0938dbf7d2b495af0;p=thirdparty%2Fkernel%2Flinux.git blk-mq: blk_account_io_start() takes a bool Signed-off-by: Jens Axboe Reviewed-by: Christoph Hellwig Reviewed-by: Johannes Thumshirn --- diff --git a/block/blk-mq.c b/block/blk-mq.c index bac12caece066..90db5b490df9a 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1237,7 +1237,7 @@ static void blk_mq_bio_to_request(struct request *rq, struct bio *bio) { init_request_from_bio(rq, bio); - blk_account_io_start(rq, 1); + blk_account_io_start(rq, true); } static inline bool hctx_allow_merges(struct blk_mq_hw_ctx *hctx)