bfq: Re-enable auto-loading when built as a module

The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

Fixes: ea25da4808 ("block, bfq: split bfq-iosched.c into multiple ...")
Reviewed-by: Ming Lei <[email protected]>
Signed-off-by: Ben Hutchings <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Ben Hutchings 2017-08-13 18:02:19 +01:00 • committed by Jens Axboe
commit 26b4cf2497

View 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)
{