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-02 10:17:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-05-02 10:17:03 +0000
commitd7d8665572aea1b814c4a59d1b25d4a41c3baa62 (patch)
treee5ff9d6b5df84b7ab7808e1cfd9e0261db5bc4ce /target/linux/generic-2.6/patches-2.6.25/204-jffs2_eofdetect.patch
parentaaac1064de71c495d284b981d83f70d3bd445826 (diff)
downloadmtk-20170518-d7d8665572aea1b814c4a59d1b25d4a41c3baa62.zip
mtk-20170518-d7d8665572aea1b814c4a59d1b25d4a41c3baa62.tar.gz
mtk-20170518-d7d8665572aea1b814c4a59d1b25d4a41c3baa62.tar.bz2
update to 2.6.25.1 and refresh patches
SVN-Revision: 11006
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.patch18
1 files changed, 9 insertions, 9 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 f1ffac6..3c00488 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,8 +1,8 @@
-Index: linux-2.6.23-rc6/fs/jffs2/build.c
+Index: linux-2.6.25.1/fs/jffs2/build.c
===================================================================
---- linux-2.6.23-rc6.orig/fs/jffs2/build.c 2007-09-21 16:23:53.000000000 +0800
-+++ linux-2.6.23-rc6/fs/jffs2/build.c 2007-09-21 16:24:05.000000000 +0800
-@@ -105,6 +105,17 @@
+--- linux-2.6.25.1.orig/fs/jffs2/build.c
++++ linux-2.6.25.1/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,11 +20,11 @@ Index: linux-2.6.23-rc6/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.23-rc6/fs/jffs2/scan.c
+Index: linux-2.6.25.1/fs/jffs2/scan.c
===================================================================
---- linux-2.6.23-rc6.orig/fs/jffs2/scan.c 2007-09-21 16:23:52.000000000 +0800
-+++ linux-2.6.23-rc6/fs/jffs2/scan.c 2007-09-21 16:24:05.000000000 +0800
-@@ -142,9 +142,12 @@
+--- linux-2.6.25.1.orig/fs/jffs2/scan.c
++++ linux-2.6.25.1/fs/jffs2/scan.c
+@@ -142,9 +142,12 @@ int jffs2_scan_medium(struct jffs2_sb_in
/* reset summary info for next eraseblock scan */
jffs2_sum_reset_collected(s);
@@ -40,7 +40,7 @@ Index: linux-2.6.23-rc6/fs/jffs2/scan.c
if (ret < 0)
goto out;
-@@ -545,6 +548,17 @@
+@@ -545,6 +548,17 @@ static int jffs2_scan_eraseblock (struct
return err;
}