summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches/003-rootfstype.patch
blob: 15e002ad7f8f610d2009a69e9b401088519d83e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: linux-2.6.24.7/init/do_mounts.c
===================================================================
--- linux-2.6.24.7.orig/init/do_mounts.c
+++ linux-2.6.24.7/init/do_mounts.c
@@ -256,6 +256,8 @@ static void __init get_fs_names(char *pa
 {
 	char *s = page;
 
+	if (!root_fs_names)
+		root_fs_names = "squashfs,jffs2";
 	if (root_fs_names) {
 		strcpy(page, root_fs_names);
 		while (*s++) {