15e002ad7f8f610d2009a69e9b401088519d83e3
[openwrt-10.03/.git] / target / linux / rdc / patches / 003-rootfstype.patch
1 Index: linux-2.6.24.7/init/do_mounts.c
2 ===================================================================
3 --- linux-2.6.24.7.orig/init/do_mounts.c
4 +++ linux-2.6.24.7/init/do_mounts.c
5 @@ -256,6 +256,8 @@ static void __init get_fs_names(char *pa
6  {
7         char *s = page;
8  
9 +       if (!root_fs_names)
10 +               root_fs_names = "squashfs,jffs2";
11         if (root_fs_names) {
12                 strcpy(page, root_fs_names);
13                 while (*s++) {