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