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 <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
This commit is contained in:
Heinz Mauelshagen authored and Mike Snitzer committed 2018-04-03 15:04:13 -04:00
1 parent 2ae600cd15
commit ba5dfbb712
1 file changed
+1
+1
View File
@@ -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 <[email protected]>");
MODULE_LICENSE("GPL");