mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[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>
This commit is contained in:
parent
e1bcfcaa0b
commit
72008652da
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue