strip the kernel version suffix from target directories, except for brcm-2.4 (the...
[openwrt/svn-archive/archive.git] / target / linux / rdc / 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++) {