summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-13 12:49:32 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-19 09:35:24 -0600
commitf1394b79881458c3cfb12c1cac813085549f2c7d (patch)
treedceb5714c9fb0bfe5b20eeb49d7be71e7f81ecd4 /block/blk-core.c
parentac7c5675fa45a372fab27d78a72d2e10e4734959 (diff)
block: mark blk_account_io_completion static
Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 78683ea61c93..d8df56e9bffb 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1381,7 +1381,7 @@ unsigned int blk_rq_err_bytes(const struct request *rq)
}
EXPORT_SYMBOL_GPL(blk_rq_err_bytes);
-void blk_account_io_completion(struct request *req, unsigned int bytes)
+static void blk_account_io_completion(struct request *req, unsigned int bytes)
{
if (req->part && blk_do_io_stat(req)) {
const int sgrp = op_stat_group(req_op(req));