mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-15 14:36:52 +01: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 <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
1 parent
e1bcfcaa0b
commit
72008652da
1 file changed
+1
@@ -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);
|
||||
Reference in new issue
Block a user