diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2018-02-01 19:06:09 +0100 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-04-03 15:04:13 -0400 |
commit | ba5dfbb712e72002c4e4b02def4df4a020849ce6 (patch) | |
tree | ed716cded1d64dff9d3f0f42313a48576fea65bf /drivers/md/dm-unstripe.c | |
parent | 2ae600cd15a7cce7f2c26d24cfbd9c1bc9e1810d (diff) |
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>
Diffstat (limited to 'drivers/md/dm-unstripe.c')
-rw-r--r-- | drivers/md/dm-unstripe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm-unstripe.c b/drivers/md/dm-unstripe.c index 05d76f337838..28ce7e57d981 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 <scott.bauer@intel.com>"); MODULE_LICENSE("GPL"); |