X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/90fba37c49479ed4e5233dc0d348cdf7d24c9ee1..6262f561d3cbc0d63a39ba8e059ffd38cae20a8e:/target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch diff --git a/target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch b/target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch index 119f1d4d8..196693d0d 100644 --- a/target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch +++ b/target/linux/generic-2.4/patches/227-jffs2_eofdetect.patch @@ -1,7 +1,5 @@ -Index: linux-2.4.35.4/fs/jffs2/build.c -=================================================================== ---- linux-2.4.35.4.orig/fs/jffs2/build.c 2007-12-15 05:19:38.778630906 +0100 -+++ linux-2.4.35.4/fs/jffs2/build.c 2007-12-15 05:20:03.936064549 +0100 +--- a/fs/jffs2/build.c ++++ b/fs/jffs2/build.c @@ -31,6 +31,10 @@ * provisions above, a recipient may use your version of this file * under either the RHEPL or the GPL. @@ -21,7 +19,7 @@ Index: linux-2.4.35.4/fs/jffs2/build.c #include "nodelist.h" int jffs2_build_inode_pass1(struct jffs2_sb_info *, struct jffs2_inode_cache *); -@@ -89,6 +94,18 @@ +@@ -89,6 +94,18 @@ int jffs2_build_filesystem(struct jffs2_ if (ret) return ret; @@ -40,10 +38,8 @@ Index: linux-2.4.35.4/fs/jffs2/build.c D1(printk(KERN_DEBUG "Scanned flash completely\n")); /* Now build the data map for each inode, marking obsoleted nodes as such, and also increase nlink of any children. */ -Index: linux-2.4.35.4/fs/jffs2/scan.c -=================================================================== ---- linux-2.4.35.4.orig/fs/jffs2/scan.c 2007-12-15 05:19:38.786631361 +0100 -+++ linux-2.4.35.4/fs/jffs2/scan.c 2007-12-15 05:20:03.948065230 +0100 +--- a/fs/jffs2/scan.c ++++ b/fs/jffs2/scan.c @@ -31,6 +31,10 @@ * provisions above, a recipient may use your version of this file * under either the RHEPL or the GPL. @@ -55,7 +51,7 @@ Index: linux-2.4.35.4/fs/jffs2/scan.c * $Id: scan.c,v 1.51.2.4 2003/11/02 13:51:18 dwmw2 Exp $ * */ -@@ -88,7 +92,12 @@ +@@ -88,7 +92,12 @@ int jffs2_scan_medium(struct jffs2_sb_in for (i=0; inr_blocks; i++) { struct jffs2_eraseblock *jeb = &c->blocks[i]; @@ -69,7 +65,7 @@ Index: linux-2.4.35.4/fs/jffs2/scan.c if (ret < 0) return ret; -@@ -181,6 +190,7 @@ +@@ -181,6 +190,7 @@ static int jffs2_scan_eraseblock (struct while(ofs < jeb->offset + c->sector_size) { ssize_t retlen; @@ -77,7 +73,7 @@ Index: linux-2.4.35.4/fs/jffs2/scan.c ACCT_PARANOIA_CHECK(jeb); if (ofs & 3) { -@@ -202,8 +212,18 @@ +@@ -202,8 +212,18 @@ static int jffs2_scan_eraseblock (struct break; }