Skip to content

Commit 7200865

Browse files
NeilBrownLinus Torvalds
authored andcommitted
[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>
1 parent e1bcfca commit 7200865

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/md/md.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4011,3 +4011,4 @@ EXPORT_SYMBOL(md_print_devices);
40114011
EXPORT_SYMBOL(md_check_recovery);
40124012
MODULE_LICENSE("GPL");
40134013
MODULE_ALIAS("md");
4014+
MODULE_ALIAS_BLOCKDEV_MAJOR(MD_MAJOR);

0 commit comments

Comments
 (0)