From: Felix Fietkau Date: Fri, 20 Jul 2007 18:09:00 +0000 (+0000) Subject: fix rootfs split partition renaming (fix by Eric L. Chen) X-Git-Tag: reboot~28585 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cf633b733a3ff9f870b2ab01f206db6b850c1bd2;p=openwrt%2Fstaging%2Fchunkeey.git fix rootfs split partition renaming (fix by Eric L. Chen) SVN-Revision: 8081 --- 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 9900cace4e..67f4764b7b 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 fe323c7d33..262d3142d6 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;