summaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2017-08-13 19:03:15 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-29 18:47:23 +0200
commit7de967e76fce652f9e8f3594c97ae132e3a0833a (patch)
tree623cdfda2c793e54a56a4ca16fdf0de7cbbec88b /block/mq-deadline.c
parentbfq: Re-enable auto-loading when built as a module (diff)
downloadlinux-7de967e76fce652f9e8f3594c97ae132e3a0833a.tar.xz
linux-7de967e76fce652f9e8f3594c97ae132e3a0833a.zip
mq-deadline: Enable auto-loading when built as module
The block core requests modules with the "-iosched" name suffix, but mq-deadline does not have that suffix. Add an alias. Fixes: 945ffb60c11d ("mq-deadline: add blk-mq adaptation of the deadline ...") 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>
Diffstat (limited to 'block/mq-deadline.c')
-rw-r--r--block/mq-deadline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/mq-deadline.c b/block/mq-deadline.c
index c8dfddc4ba8b..a1cad4331edd 100644
--- a/block/mq-deadline.c
+++ b/block/mq-deadline.c
@@ -659,6 +659,7 @@ static struct elevator_type mq_deadline = {
.elevator_name = "mq-deadline",
.elevator_owner = THIS_MODULE,
};
+MODULE_ALIAS("mq-deadline-iosched");
static int __init deadline_init(void)
{