From: vda <vda@port.imtp.ilyichevsk.odessa.ua>

Add a missing test for the "root=/dev/ram" kernel boot option.


---

 25-akpm/init/do_mounts.c |    3 +++
 1 files changed, 3 insertions(+)

diff -puN init/do_mounts.c~root-ramdisk-fix init/do_mounts.c
--- 25/init/do_mounts.c~root-ramdisk-fix	Tue Mar  9 13:49:16 2004
+++ 25-akpm/init/do_mounts.c	Tue Mar  9 13:49:16 2004
@@ -165,6 +165,9 @@ dev_t __init name_to_dev_t(char *name)
 	res = Root_NFS;
 	if (strcmp(name, "nfs") == 0)
 		goto done;
+	res = Root_RAM0;
+	if (strcmp(name, "ram") == 0)
+		goto done;
 
 	if (strlen(name) > 31)
 		goto fail;

_