add the prereq-check on lzma
[openwrt/openwrt.git] / target / linux / rdc / patches-2.6.30 / 003-rootfstype.patch
1 --- a/init/do_mounts.c
2 +++ b/init/do_mounts.c
3 @@ -191,6 +191,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++) {