diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2019-09-14 13:31:50 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-14 13:33:43 -0400 |
commit | 89f3b6d62f2c7c1ed7b2e672be605016d9ff60f2 (patch) | |
tree | e7ec0fe618516d2405c9de0e7492759c5101a29a /block/blk-cgroup.c | |
parent | 99e5381d548db60ce05f3f39d1ca554caa85db6d (diff) |
bfq: Fix bfq linkage error
Since commit 795fe54c2a828099e ("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: 795fe54c2a828099e ("bfq: Add per-device weight")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.c')
-rw-r--r-- | block/blk-cgroup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 0e2619c1a422..b6f20be0fc78 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c | |||
@@ -900,6 +900,7 @@ fail: | |||
900 | } | 900 | } |
901 | return ret; | 901 | return ret; |
902 | } | 902 | } |
903 | EXPORT_SYMBOL_GPL(blkg_conf_prep); | ||
903 | 904 | ||
904 | /** | 905 | /** |
905 | * blkg_conf_finish - finish up per-blkg config update | 906 | * blkg_conf_finish - finish up per-blkg config update |
@@ -915,6 +916,7 @@ void blkg_conf_finish(struct blkg_conf_ctx *ctx) | |||
915 | rcu_read_unlock(); | 916 | rcu_read_unlock(); |
916 | put_disk_and_module(ctx->disk); | 917 | put_disk_and_module(ctx->disk); |
917 | } | 918 | } |
919 | EXPORT_SYMBOL_GPL(blkg_conf_finish); | ||
918 | 920 | ||
919 | static int blkcg_print_stat(struct seq_file *sf, void *v) | 921 | static int blkcg_print_stat(struct seq_file *sf, void *v) |
920 | { | 922 | { |