Skip to content

Commit

Permalink
block: export blk_stat_enable_accounting()
Browse files Browse the repository at this point in the history
Kyber will need this in a future change if it is built as a module.

Signed-off-by: Omar Sandoval <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
osandov authored and axboe committed Sep 27, 2018
1 parent ed88660 commit f8232f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/blk-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit f8232f2

Please sign in to comment.