block: export blk_stat_enable_accounting()
authorOmar Sandoval <osandov@fb.com>
Thu, 27 Sep 2018 22:55:52 +0000 (15:55 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 27 Sep 2018 23:34:54 +0000 (17:34 -0600)
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>
block/blk-stat.c

index 7587b1c3caaf5299613686e005ac211346234928..90561af85a6236750509be628d21077f03e3599d 100644 (file)
@@ -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)
 {