aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-08-26 21:34:15 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-26 22:37:12 -0400
commit72008652dae7d10fa668d7b2ada3bddff7403d86 (patch)
tree23660dd9234016c927b8c135c9e48b685cb16207
parente1bcfcaa0b3bec2a67b22c565a0bf508ea90db1d (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>
-rw-r--r--drivers/md/md.c1
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);
4011EXPORT_SYMBOL(md_check_recovery); 4011EXPORT_SYMBOL(md_check_recovery);
4012MODULE_LICENSE("GPL"); 4012MODULE_LICENSE("GPL");
4013MODULE_ALIAS("md"); 4013MODULE_ALIAS("md");
4014MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);