mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-13 12:53:27 +00:00
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>
This commit is contained in:
parent
ed88660a53
commit
f8232f29ca
@ -190,6 +190,7 @@ void blk_stat_enable_accounting(struct request_queue *q)
|
|||||||
blk_queue_flag_set(QUEUE_FLAG_STATS, q);
|
blk_queue_flag_set(QUEUE_FLAG_STATS, q);
|
||||||
spin_unlock(&q->stats->lock);
|
spin_unlock(&q->stats->lock);
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(blk_stat_enable_accounting);
|
||||||
|
|
||||||
struct blk_queue_stats *blk_alloc_queue_stats(void)
|
struct blk_queue_stats *blk_alloc_queue_stats(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user