Thread (8 messages) 8 messages, 2 authors, 2018-08-11
STALE2879d
Revisions (2)
  1. rfc current
  2. v2 [diff vs current]

[RFC PATCH 2/5] block: export blk_stat_enable_accounting()

From: Omar Sandoval <osandov@osandov.com>
Date: 2018-08-09 22:53:25
Subsystem: block layer, the rest · Maintainers: Jens Axboe, Linus Torvalds

From: Omar Sandoval <redacted>

Kyber will need this in a future change if it is built as a module.

Signed-off-by: Omar Sandoval <redacted>
---
 block/blk-stat.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/block/blk-stat.c b/block/blk-stat.c
index 175c143ac5b9..d98f3ad6794e 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)
 {
-- 
2.18.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help