diff options
author | NeilBrown <neilb@cse.unsw.edu.au> | 2005-08-26 21:34:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-26 22:37:12 -0400 |
commit | 72008652dae7d10fa668d7b2ada3bddff7403d86 (patch) | |
tree | 23660dd9234016c927b8c135c9e48b685cb16207 /drivers/md/md.c | |
parent | e1bcfcaa0b3bec2a67b22c565a0bf508ea90db1d (diff) |
[PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number.
I just discovered this is needed for module auto-loading.
Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r-- | drivers/md/md.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 486ee50cfdda..deccd560c0de 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -4011,3 +4011,4 @@ EXPORT_SYMBOL(md_print_devices); | |||
4011 | EXPORT_SYMBOL(md_check_recovery); | 4011 | EXPORT_SYMBOL(md_check_recovery); |
4012 | MODULE_LICENSE("GPL"); | 4012 | MODULE_LICENSE("GPL"); |
4013 | MODULE_ALIAS("md"); | 4013 | MODULE_ALIAS("md"); |
4014 | MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR); | ||