Skip to content

Commit

Permalink
bfq: Re-enable auto-loading when built as a module
Browse files Browse the repository at this point in the history
The block core requests modules with the "-iosched" name suffix, but
bfq no longer has that suffix.  Add an alias.

Fixes: ea25da4 ("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]>
  • Loading branch information
bwhacks authored and axboe committed Aug 29, 2017
1 parent 5034435 commit 26b4cf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/bfq-iosched.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 26b4cf2

Please sign in to comment.