Thread (7 messages) 7 messages, 2 authors, 2018-09-28
STALE2828d
Revisions (2)
  1. rfc [diff vs current]
  2. v2 current

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

From: Omar Sandoval <osandov@osandov.com>
Date: 2018-09-28 05:17:10
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 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)
 {
-- 
2.19.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