]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number.
authorNeilBrown <neilb@cse.unsw.edu.au>
Sat, 27 Aug 2005 01:34:15 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 27 Aug 2005 02:37:12 +0000 (19:37 -0700)
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>
drivers/md/md.c

index 486ee50cfdda95b8b427882b0297cd82e9578760..deccd560c0dea57a6fef0db5da1b26cab58e86cf 100644 (file)
@@ -4011,3 +4011,4 @@ EXPORT_SYMBOL(md_print_devices);
 EXPORT_SYMBOL(md_check_recovery);
 MODULE_LICENSE("GPL");
 MODULE_ALIAS("md");
+MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);