summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-12-03 04:00:14 +0100
committerJens Axboe <axboe@fb.com>2016-12-05 20:14:28 +0100
commit6e85eaf3078bcc8552ca32a0938dbf7d2b495af0 (patch)
treeab1d5157dbb5b634a7766c5d3a53ba529ee6c5a5 /block
parentblock: fix unintended fallthrough in generic_make_request_checks() (diff)
downloadlinux-6e85eaf3078bcc8552ca32a0938dbf7d2b495af0.tar.xz
linux-6e85eaf3078bcc8552ca32a0938dbf7d2b495af0.zip
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)