Fresh fixes for rdc from sn9, thanks !
[openwrt/staging/chunkeey.git] / target / linux / rdc-2.6 / patches / 003-rootfstype.patch
1 --- linux-2.6.19.2/init/do_mounts.c 2007-01-10 11:10:37.000000000 -0800
2 +++ foo/init/do_mounts.c 2007-04-05 13:15:37.000000000 -0700
3 @@ -243,6 +243,8 @@
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++) {
12 --- linux-2.6.19.2/init/do_mounts.c 2007-01-10 11:10:37.000000000 -0800
13 +++ foo/init/do_mounts.c 2007-04-05 13:15:37.000000000 -0700
14 @@ -243,6 +243,8 @@
15 {
16 char *s = page;
17
18 + if (!root_fs_names)
19 + root_fs_names = "squashfs,jffs2";
20 if (root_fs_names) {
21 strcpy(page, root_fs_names);
22 while (*s++) {