[rdc] add experimental support for 2.6.30
[openwrt/svn-archive/archive.git] / target / linux / rdc / patches-2.6.30 / 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++) {