summaryrefslogtreecommitdiff
path: root/block/blk-wbt.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-11-15 12:31:27 -0700
committerJens Axboe <axboe@kernel.dk>2018-11-15 12:31:27 -0700
commite815f404afdb70beefe2ffd0d767bf3785985869 (patch)
treea43e84e48e15299e266bfc4625fc666220d3cc8a /block/blk-wbt.c
parent0d945c1f966b2bcb67bb12be749da0a7fb00201b (diff)
block: add wbt_disable_default export for BFQ
This isn't unused, if BFQ is modular we get into trouble. Fixes: b6676f653f13 ("block: remove a few unused exports") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-wbt.c')
-rw-r--r--block/blk-wbt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/blk-wbt.c b/block/blk-wbt.c
index 919444d75489..9f142b84dc85 100644
--- a/block/blk-wbt.c
+++ b/block/blk-wbt.c
@@ -754,6 +754,7 @@ void wbt_disable_default(struct request_queue *q)
if (rwb->enable_state == WBT_STATE_ON_DEFAULT)
rwb->wb_normal = 0;
}
+EXPORT_SYMBOL_GPL(wbt_disable_default);
static struct rq_qos_ops wbt_rqos_ops = {
.throttle = wbt_wait,