1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00

fix rootfs split partition renaming (fix by Eric L. Chen)

SVN-Revision: 8081
This commit is contained in:
Felix Fietkau 2007-07-20 18:09:00 +00:00
parent f60d180330
commit cf633b733a
2 changed files with 2 additions and 2 deletions

@ -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;

@ -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;