]> err.no Git - linux-2.6/commitdiff
Add 'rd' alias to new brd ramdisk driver
authorNick Piggin <npiggin@suse.de>
Wed, 4 Jun 2008 15:18:42 +0000 (17:18 +0200)
committerLinus 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

index 680cdfc00b90b99714113b32199aeca2a97e72be..24b97b0bef994411bda31e377c041da6471ed9a2 100644 (file)
@@ -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 */