[rdc] fix the lzma patch after r16944 and r16939, thanks agb
[openwrt-10.03/.git] / target / linux / rdc / patches-2.6.28 / 003-rootfstype.patch
1 --- a/init/do_mounts.c
2 +++ b/init/do_mounts.c
3 @@ -189,6 +189,8 @@ static void __init get_fs_names(char *pa
4  {
5         char *s = page;
6  
7 +       if (!root_fs_names)
8 +               root_fs_names = "squashfs,jffs2";
9         if (root_fs_names) {
10                 strcpy(page, root_fs_names);
11                 while (*s++) {