summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-12-02 20:00:14 -0700
committerJens Axboe <axboe@fb.com>2016-12-02 20:03:49 -0700
commit21ed57b66f3e7cdfa7f5df4cfadf5dbf527915d8 (patch)
tree91d9cc8b3d696433fa8122ed6b375a019ac656ca
parentb94c0293795f6d2df09f90d30a9bb3f4deba46d2 (diff)
blk-mq: blk_account_io_start() takes a bool
Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--block/blk-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index bac12caece06..90db5b490df9 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)