fix rootfs split partition renaming (fix by Eric L. Chen)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 20 Jul 2007 18:09:00 +0000 (18:09 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 20 Jul 2007 18:09:00 +0000 (18:09 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8081 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/patches-2.6.22/060-rootfs_split.patch
target/linux/generic-2.6/patches/060-rootfs_split.patch

index 9900cac..67f4764 100644 (file)
@@ -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;
index fe323c7..262d314 100644 (file)
@@ -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;
This page took 0.029809 seconds and 4 git commands to generate.