summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.25/003-rootfstype.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:08:52 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-06-28 11:08:52 +0000
commitf0579831aad58f75e67fab3cc2ca8d2844544fee (patch)
tree6cc1653d57fc0e94beeb69d93cc6e127c5e794d1 /target/linux/rdc/patches-2.6.25/003-rootfstype.patch
parentf983aa52ab73c80cd29c40583a93ea8f42389143 (diff)
Finally move 2.6.25 patches to patch-2.6.25 for compatibility with other kernel version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11595 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.25/003-rootfstype.patch')
-rw-r--r--target/linux/rdc/patches-2.6.25/003-rootfstype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.25/003-rootfstype.patch b/target/linux/rdc/patches-2.6.25/003-rootfstype.patch
new file mode 100644
index 000000000..55a4cd49f
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.25/003-rootfstype.patch
@@ -0,0 +1,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++) {