提交 ba5dfbb7 编写于 作者: H Heinz Mauelshagen 提交者: Mike Snitzer

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: NHeinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: NMike Snitzer <snitzer@redhat.com>
上级 2ae600cd
...@@ -213,5 +213,6 @@ module_init(dm_unstripe_init); ...@@ -213,5 +213,6 @@ module_init(dm_unstripe_init);
module_exit(dm_unstripe_exit); module_exit(dm_unstripe_exit);
MODULE_DESCRIPTION(DM_NAME " unstriped target"); MODULE_DESCRIPTION(DM_NAME " unstriped target");
MODULE_ALIAS("dm-unstriped");
MODULE_AUTHOR("Scott Bauer <scott.bauer@intel.com>"); MODULE_AUTHOR("Scott Bauer <scott.bauer@intel.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册