summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-05-18 20:26:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-18 20:26:43 +0000
commit4503efda2da6e5868bbbd274c042622dc03edd8e (patch)
tree3678d3fa5a554dcf4f4295ab9dcb5ab026240683 /target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
parente582f614b6e15517a9207b0a96a72b68f7a254df (diff)
downloadmtk-20170518-4503efda2da6e5868bbbd274c042622dc03edd8e.zip
mtk-20170518-4503efda2da6e5868bbbd274c042622dc03edd8e.tar.gz
mtk-20170518-4503efda2da6e5868bbbd274c042622dc03edd8e.tar.bz2
refresh generic 2.6.25 patches
SVN-Revision: 11189
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch b/target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
index 3c00488..787ac6d 100644
--- a/target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
+++ b/target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
@@ -1,7 +1,7 @@
-Index: linux-2.6.25.1/fs/jffs2/build.c
+Index: linux-2.6.25.4/fs/jffs2/build.c
===================================================================
---- linux-2.6.25.1.orig/fs/jffs2/build.c
-+++ linux-2.6.25.1/fs/jffs2/build.c
+--- linux-2.6.25.4.orig/fs/jffs2/build.c
++++ linux-2.6.25.4/fs/jffs2/build.c
@@ -105,6 +105,17 @@ static int jffs2_build_filesystem(struct
dbg_fsbuild("scanned flash completely\n");
jffs2_dbg_dump_block_lists_nolock(c);
@@ -20,10 +20,10 @@ Index: linux-2.6.25.1/fs/jffs2/build.c
dbg_fsbuild("pass 1 starting\n");
c->flags |= JFFS2_SB_FLAG_BUILDING;
/* Now scan the directory tree, increasing nlink according to every dirent found. */
-Index: linux-2.6.25.1/fs/jffs2/scan.c
+Index: linux-2.6.25.4/fs/jffs2/scan.c
===================================================================
---- linux-2.6.25.1.orig/fs/jffs2/scan.c
-+++ linux-2.6.25.1/fs/jffs2/scan.c
+--- linux-2.6.25.4.orig/fs/jffs2/scan.c
++++ linux-2.6.25.4/fs/jffs2/scan.c
@@ -142,9 +142,12 @@ int jffs2_scan_medium(struct jffs2_sb_in
/* reset summary info for next eraseblock scan */