1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-18 20:37:42 +03:00
openwrt-xburst/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
florian 15e0985ea5 [rdc] refresh 2.6.30 kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 16:24:52 +00:00

12 lines
262 B
Diff

--- a/init/do_mounts.c
+++ b/init/do_mounts.c
@@ -191,6 +191,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++) {