[kernel] fix yaffs on 2.6.25
[openwrt.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++) {
This page took 0.046339 seconds and 5 git commands to generate.