]> Git Repo - linux.git/commitdiff
[PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number.
authorNeilBrown <[email protected]>
Sat, 27 Aug 2005 01:34:15 +0000 (18:34 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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);
This page took 0.057553 seconds and 4 git commands to generate.