summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
blob: e7ed527cac8cd14a51c6000ed19b7b36688f9242 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -191,6 +191,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++) {