summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-12-02 20:00:14 -0700
committerJens Axboe <axboe@fb.com>2016-12-05 12:14:28 -0700
commit6e85eaf3078bcc8552ca32a0938dbf7d2b495af0 (patch)
treeab1d5157dbb5b634a7766c5d3a53ba529ee6c5a5 /block
parent58886785db318588f95c8036abb2a47016c1f14c (diff)
downloadlinux-6e85eaf3078bcc8552ca32a0938dbf7d2b495af0.tar.bz2
blk-mq: blk_account_io_start() takes a bool
Signed-off-by: Jens Axboe <axboe@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'block')
-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)