From: Heinz Mauelshagen Date: Thu, 1 Feb 2018 18:06:09 +0000 (+0100) Subject: dm unstripe: add "dm-unstriped" module alias X-Git-Tag: v5.15~9099^2~24 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba5dfbb712e72002c4e4b02def4df4a020849ce6;p=platform%2Fkernel%2Flinux-starfive.git dm unstripe: add "dm-unstriped" module alias This target's kernel module being named dm-unstripe.ko doesn't allow lvm2's DM module autoload capability to load the dm-unstripe.ko because lvm2 looks for dm-unstriped.ko due to the target name being "unstriped". Add the "dm-unstriped" module alias to resolve this oversight. NOTE: this isn't needed for the "striped" target, despite its source file being named dm-stripe.c, because it is part of dm-mod.ko. Signed-off-by: Heinz Mauelshagen Signed-off-by: Mike Snitzer --- diff --git a/drivers/md/dm-unstripe.c b/drivers/md/dm-unstripe.c index 05d76f3..28ce7e5 100644 --- a/drivers/md/dm-unstripe.c +++ b/drivers/md/dm-unstripe.c @@ -213,5 +213,6 @@ module_init(dm_unstripe_init); module_exit(dm_unstripe_exit); MODULE_DESCRIPTION(DM_NAME " unstriped target"); +MODULE_ALIAS("dm-unstriped"); MODULE_AUTHOR("Scott Bauer "); MODULE_LICENSE("GPL");