OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1bcfca
)
[PATCH] md: create a MODULE_ALIAS for md corresponding to its block major number.
author
NeilBrown
<neilb@cse.unsw.edu.au>
Sat, 27 Aug 2005 01:34:15 +0000
(18:34 -0700)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/drivers/md/md.c
b/drivers/md/md.c
index
486ee50
..
deccd56
100644
(file)
--- 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);