summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNeilBrown <neilb@cse.unsw.edu.au>2005-08-27 03:34:15 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2005-08-27 04:37:12 +0200
commit72008652dae7d10fa668d7b2ada3bddff7403d86 (patch)
tree23660dd9234016c927b8c135c9e48b685cb16207 /drivers/md
parent[PATCH] IB: fix use-after-free in user verbs cleanup (diff)
downloadlinux-72008652dae7d10fa668d7b2ada3bddff7403d86.tar.xz
linux-72008652dae7d10fa668d7b2ada3bddff7403d86.zip
[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')
-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);