projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16104b5
)
Add 'rd' alias to new brd ramdisk driver
author
Nick Piggin
<npiggin@suse.de>
Wed, 4 Jun 2008 15:18:42 +0000
(17:18 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 5 Jun 2008 21:23:12 +0000
(14:23 -0700)
Alias brd to rd in the hope of helping legacy users. Suggested by Jan.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/brd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/brd.c
b/drivers/block/brd.c
index 680cdfc00b90b99714113b32199aeca2a97e72be..24b97b0bef994411bda31e377c041da6471ed9a2 100644
(file)
--- a/
drivers/block/brd.c
+++ b/
drivers/block/brd.c
@@
-397,6
+397,7
@@
module_param(max_part, int, 0);
MODULE_PARM_DESC(max_part, "Maximum number of partitions per RAM disk");
MODULE_LICENSE("GPL");
MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
+MODULE_ALIAS("rd");
#ifndef MODULE
/* Legacy boot options - nonmodular */