aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic-2.6/patches
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-20 18:09:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-20 18:09:00 +0000
commitb1f5fffa5db6547d498edb5223831f8d92e329af (patch)
tree3fb30781802ab0bce4c037d8622c9bb51f0ae3b4 /target/linux/generic-2.6/patches
parenta69c1431a5433286ed31b35d738efaafdb54f707 (diff)
downloadupstream-b1f5fffa5db6547d498edb5223831f8d92e329af.tar.gz
upstream-b1f5fffa5db6547d498edb5223831f8d92e329af.tar.bz2
upstream-b1f5fffa5db6547d498edb5223831f8d92e329af.zip
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
Diffstat (limited to 'target/linux/generic-2.6/patches')
-rw-r--r--target/linux/generic-2.6/patches/060-rootfs_split.patch2
1 files changed, 1 insertions, 1 deletions
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;