diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-08-05 13:48:22 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2009-08-05 13:48:22 +0000 |
commit | 961f5a75d7028f3a66483804fd884357eb5e7c5c (patch) | |
tree | 4d2e068ac0f42bf6b436462182c08edce69e6a37 /target/linux/rdc/patches-2.6.30/003-rootfstype.patch | |
parent | 5ffcc3b0072a4854db96cb88d0d6b2dc3f0b0eb0 (diff) | |
download | upstream-961f5a75d7028f3a66483804fd884357eb5e7c5c.tar.gz upstream-961f5a75d7028f3a66483804fd884357eb5e7c5c.tar.bz2 upstream-961f5a75d7028f3a66483804fd884357eb5e7c5c.zip |
[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.patch | 11 |
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 0000000000..386e638971 --- /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++) { |