projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e13a9d1
)
Fix free space size check
author
Eugene Konev
<ejka@openwrt.org>
Sat, 7 Apr 2007 10:36:31 +0000
(10:36 +0000)
committer
Eugene Konev
<ejka@openwrt.org>
Sat, 7 Apr 2007 10:36:31 +0000
(10:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6880
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/generic-2.6/patches/060-rootfs_split.patch
patch
|
blob
|
history
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
e2e52f6
..
b4a5525
100644
(file)
--- a/
target/linux/generic-2.6/patches/060-rootfs_split.patch
+++ b/
target/linux/generic-2.6/patches/060-rootfs_split.patch
@@
-242,7
+242,7
@@
diff -ur linux.old/drivers/mtd/mtdpart.c linux.dev/drivers/mtd/mtdpart.c
+ part->offset += len;
+ part->size -= len;
+
-+ if (
len + master->erasesize <
part->size)
++ if (
master->erasesize <=
part->size)
+ ret = add_mtd_partition(master, part, i + 1);
+ else
+ kfree(part->name);