]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bfq: Re-enable auto-loading when built as a module
authorBen Hutchings <ben@decadent.org.uk>
Sun, 13 Aug 2017 17:02:19 +0000 (18:02 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Aug 2017 16:47:23 +0000 (10:47 -0600)
The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

Fixes: ea25da48086d ("block, bfq: split bfq-iosched.c into multiple ...")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c

index 79484469c2f7b7ba9f5f866a44c924e1dc283026..6a7a26b6cec1b24d0094a2dac40cea6388cdebc6 100644 (file)
@@ -5013,6 +5013,7 @@ static struct elevator_type iosched_bfq_mq = {
        .elevator_name =        "bfq",
        .elevator_owner =       THIS_MODULE,
 };
+MODULE_ALIAS("bfq-iosched");
 
 static int __init bfq_init(void)
 {