[patch 03/47] Add rd alias to new brd ramdisk driver

Greg KH
2008-06-14T00:13:10Z

[-- Attachment #1: add-rd-alias-to-new-brd-ramdisk-driver.patch --]
[-- Type: text/plain, Size: 805 bytes --]

-stable review patch. If anyone has any objections, please let us know.

------------------
From: Nick Piggin <npiggin@suse.de>

upstream commit: efedf51c866130945b5db755cb58670e60205d83

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>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
---
drivers/block/brd.c | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/block/brd.c
+++ b/drivers/block/brd.c
@@ -392,6 +392,7 @@ module_param(rd_size, int, 0);
MODULE_PARM_DESC(rd_size, "Size of each RAM disk in kbytes.");
MODULE_LICENSE("GPL");
MODULE_ALIAS_BLOCKDEV_MAJOR(RAMDISK_MAJOR);
+MODULE_ALIAS("rd");

#ifndef MODULE
/* Legacy boot options - nonmodular */

--