summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-05 13:48:22 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-08-05 13:48:22 +0000
commita0e006b86b435e15c7ce4580a952f7ec6f7895fb (patch)
tree4d2e068ac0f42bf6b436462182c08edce69e6a37 /target/linux/rdc/patches-2.6.30/003-rootfstype.patch
parent272ebcedf708210247209f301f39a81c78988ef5 (diff)
[rdc] add experimental support for 2.6.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17131 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.30/003-rootfstype.patch')
-rw-r--r--target/linux/rdc/patches-2.6.30/003-rootfstype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.30/003-rootfstype.patch b/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
new file mode 100644
index 000000000..386e63897
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
@@ -0,0 +1,11 @@
+--- a/init/do_mounts.c
++++ b/init/do_mounts.c
+@@ -189,6 +189,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++) {