aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2005-08-26 18:34:15 -0700
committerLinus Torvalds <[email protected]>2005-08-26 19:37:12 -0700
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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-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);
EXPORT_SYMBOL(md_check_recovery);
MODULE_LICENSE("GPL");
MODULE_ALIAS("md");
+MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);