summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.28/003-rootfstype.patch
blob: 55a4cd49f53094f069325ea060e449701e4afc15 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -163,6 +163,8 @@
 {
 	char *s = page;
 
+	if (!root_fs_names)
+		root_fs_names = "squashfs,jffs2";
 	if (root_fs_names) {
 		strcpy(page, root_fs_names);
 		while (*s++) {