From: nbd Date: Fri, 20 Jul 2007 18:09:00 +0000 (+0000) Subject: fix rootfs split partition renaming (fix by Eric L. Chen) X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=7865baba1cd028774f223d72b3db8de8f7f77c87 fix rootfs split partition renaming (fix by Eric L. Chen) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8081 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic-2.6/patches-2.6.22/060-rootfs_split.patch b/target/linux/generic-2.6/patches-2.6.22/060-rootfs_split.patch index 9900cace4..67f4764b7 100644 --- a/target/linux/generic-2.6/patches-2.6.22/060-rootfs_split.patch +++ b/target/linux/generic-2.6/patches-2.6.22/060-rootfs_split.patch @@ -252,8 +252,8 @@ Index: linux/drivers/mtd/mtdpart.c + goto out; + } + -+ part->name = (unsigned char *)&part[1]; + memcpy(part, old, sizeof(*part)); ++ part->name = (unsigned char *)&part[1]; + strcpy(part->name, ROOTFS_SPLIT_NAME); + + len = (u32) sb->bytes_used; diff --git a/target/linux/generic-2.6/patches/060-rootfs_split.patch b/target/linux/generic-2.6/patches/060-rootfs_split.patch index fe323c7d3..262d3142d 100644 --- a/target/linux/generic-2.6/patches/060-rootfs_split.patch +++ b/target/linux/generic-2.6/patches/060-rootfs_split.patch @@ -253,8 +253,8 @@ Index: linux/drivers/mtd/mtdpart.c + goto out; + } + -+ part->name = (unsigned char *)&part[1]; + memcpy(part, old, sizeof(*part)); ++ part->name = (unsigned char *)&part[1]; + strcpy(part->name, ROOTFS_SPLIT_NAME); + + len = (u32) sb->bytes_used;