summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Sandoval <osandov@fb.com>2018-09-27 15:55:52 -0700
committerJens Axboe <axboe@kernel.dk>2018-09-27 17:34:54 -0600
commitf8232f29ca268b0ba9e98638c9ed71e337e7f0a4 (patch)
tree4f6e950313de75df86b5760fdf0aca615a606f4d
parented88660a5372faa67c168c3db5201e33e488c9fd (diff)
downloadlinux-f8232f29ca268b0ba9e98638c9ed71e337e7f0a4.tar.gz
linux-f8232f29ca268b0ba9e98638c9ed71e337e7f0a4.tar.bz2
linux-f8232f29ca268b0ba9e98638c9ed71e337e7f0a4.zip
block: export blk_stat_enable_accounting()
Kyber will need this in a future change if it is built as a module. Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/blk-stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-stat.c b/block/blk-stat.c
index 7587b1c3caaf..90561af85a62 100644
--- a/block/blk-stat.c
+++ b/block/blk-stat.c
@@ -190,6 +190,7 @@ void blk_stat_enable_accounting(struct request_queue *q)
blk_queue_flag_set(QUEUE_FLAG_STATS, q);
spin_unlock(&q->stats->lock);
}
+EXPORT_SYMBOL_GPL(blk_stat_enable_accounting);
struct blk_queue_stats *blk_alloc_queue_stats(void)
{