Commit 0efb9e61 authored by NeilBrown's avatar NeilBrown

md: add MODULE_DESCRIPTION for all md related modules.

Suggested by  Oren Held <orenhe@il.ibm.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 1e50915f
...@@ -360,6 +360,7 @@ static void raid_exit(void) ...@@ -360,6 +360,7 @@ static void raid_exit(void)
module_init(raid_init); module_init(raid_init);
module_exit(raid_exit); module_exit(raid_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Fault injection personality for MD");
MODULE_ALIAS("md-personality-10"); /* faulty */ MODULE_ALIAS("md-personality-10"); /* faulty */
MODULE_ALIAS("md-faulty"); MODULE_ALIAS("md-faulty");
MODULE_ALIAS("md-level--5"); MODULE_ALIAS("md-level--5");
...@@ -383,6 +383,7 @@ static void linear_exit (void) ...@@ -383,6 +383,7 @@ static void linear_exit (void)
module_init(linear_init); module_init(linear_init);
module_exit(linear_exit); module_exit(linear_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Linear device concatenation personality for MD");
MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/ MODULE_ALIAS("md-personality-1"); /* LINEAR - deprecated*/
MODULE_ALIAS("md-linear"); MODULE_ALIAS("md-linear");
MODULE_ALIAS("md-level--1"); MODULE_ALIAS("md-level--1");
...@@ -7168,5 +7168,6 @@ EXPORT_SYMBOL(md_unregister_thread); ...@@ -7168,5 +7168,6 @@ EXPORT_SYMBOL(md_unregister_thread);
EXPORT_SYMBOL(md_wakeup_thread); EXPORT_SYMBOL(md_wakeup_thread);
EXPORT_SYMBOL(md_check_recovery); EXPORT_SYMBOL(md_check_recovery);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("MD RAID framework");
MODULE_ALIAS("md"); MODULE_ALIAS("md");
MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR); MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);
...@@ -581,6 +581,7 @@ static void __exit multipath_exit (void) ...@@ -581,6 +581,7 @@ static void __exit multipath_exit (void)
module_init(multipath_init); module_init(multipath_init);
module_exit(multipath_exit); module_exit(multipath_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("simple multi-path personality for MD");
MODULE_ALIAS("md-personality-7"); /* MULTIPATH */ MODULE_ALIAS("md-personality-7"); /* MULTIPATH */
MODULE_ALIAS("md-multipath"); MODULE_ALIAS("md-multipath");
MODULE_ALIAS("md-level--4"); MODULE_ALIAS("md-level--4");
...@@ -567,6 +567,7 @@ static void raid0_exit (void) ...@@ -567,6 +567,7 @@ static void raid0_exit (void)
module_init(raid0_init); module_init(raid0_init);
module_exit(raid0_exit); module_exit(raid0_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("RAID0 (striping) personality for MD");
MODULE_ALIAS("md-personality-2"); /* RAID0 */ MODULE_ALIAS("md-personality-2"); /* RAID0 */
MODULE_ALIAS("md-raid0"); MODULE_ALIAS("md-raid0");
MODULE_ALIAS("md-level-0"); MODULE_ALIAS("md-level-0");
...@@ -2376,6 +2376,7 @@ static void raid_exit(void) ...@@ -2376,6 +2376,7 @@ static void raid_exit(void)
module_init(raid_init); module_init(raid_init);
module_exit(raid_exit); module_exit(raid_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("RAID1 (mirroring) personality for MD");
MODULE_ALIAS("md-personality-3"); /* RAID1 */ MODULE_ALIAS("md-personality-3"); /* RAID1 */
MODULE_ALIAS("md-raid1"); MODULE_ALIAS("md-raid1");
MODULE_ALIAS("md-level-1"); MODULE_ALIAS("md-level-1");
...@@ -2408,6 +2408,7 @@ static void raid_exit(void) ...@@ -2408,6 +2408,7 @@ static void raid_exit(void)
module_init(raid_init); module_init(raid_init);
module_exit(raid_exit); module_exit(raid_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("RAID10 (striped mirror) personality for MD");
MODULE_ALIAS("md-personality-9"); /* RAID10 */ MODULE_ALIAS("md-personality-9"); /* RAID10 */
MODULE_ALIAS("md-raid10"); MODULE_ALIAS("md-raid10");
MODULE_ALIAS("md-level-10"); MODULE_ALIAS("md-level-10");
...@@ -5892,6 +5892,7 @@ static void raid5_exit(void) ...@@ -5892,6 +5892,7 @@ static void raid5_exit(void)
module_init(raid5_init); module_init(raid5_init);
module_exit(raid5_exit); module_exit(raid5_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("RAID4/5/6 (striping with parity) personality for MD");
MODULE_ALIAS("md-personality-4"); /* RAID5 */ MODULE_ALIAS("md-personality-4"); /* RAID5 */
MODULE_ALIAS("md-raid5"); MODULE_ALIAS("md-raid5");
MODULE_ALIAS("md-raid4"); MODULE_ALIAS("md-raid4");
......
...@@ -150,3 +150,4 @@ static void raid6_exit(void) ...@@ -150,3 +150,4 @@ static void raid6_exit(void)
subsys_initcall(raid6_select_algo); subsys_initcall(raid6_select_algo);
module_exit(raid6_exit); module_exit(raid6_exit);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("RAID6 Q-syndrome calculations");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment