Commit 7c4b0f57 authored by Pavel Begunkov's avatar Pavel Begunkov Committed by Oleksandr Natalenko

bfq: Fix bfq linkage error

Since commit 795fe54c ("bfq: Add per-device weight"), bfq uses
blkg_conf_prep() and blkg_conf_finish(), which are not exported. So, it
causes linkage error if bfq compiled as a module.

Fixes: 795fe54c ("bfq: Add per-device weight")
Signed-off-by: default avatarPavel Begunkov <>
Signed-off-by: default avatarJens Axboe <>
parent 794b4492
......@@ -913,6 +913,7 @@ int blkg_conf_prep(struct blkcg *blkcg, const struct blkcg_policy *pol,
return ret;
* blkg_conf_finish - finish up per-blkg config update
......@@ -928,6 +929,7 @@ void blkg_conf_finish(struct blkg_conf_ctx *ctx)
static int blkcg_print_stat(struct seq_file *sf, void *v)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment