dm unstripe: add "dm-unstriped" module alias
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 1 Feb 2018 18:06:09 +0000 (19:06 +0100)
committerMike Snitzer <snitzer@redhat.com>
Tue, 3 Apr 2018 19:04:13 +0000 (15:04 -0400)
commitba5dfbb712e72002c4e4b02def4df4a020849ce6
treeed716cded1d64dff9d3f0f42313a48576fea65bf
parent2ae600cd15a7cce7f2c26d24cfbd9c1bc9e1810d
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 <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-unstripe.c