[JFFS2] Remove forgotten summary code
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Fri May 19 16:27:26 EDT 2006
Commit: 8e4482fba21d15da99f39a13396d3361e810d199
Parent: aef9ab47841af45888d950baa6448072cc70bdd5
Author: Ferenc Havasi <havasi at inf.u-szeged.hu>
AuthorDate: Fri May 19 21:00:36 2006 +0100
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Fri May 19 21:00:36 2006 +0100
[JFFS2] Remove forgotten summary code
Remove forgotten lines from jffs2_scan_eraseblock() which
were unnecessary and may cause problem in some environments.
Thanks to Alexander Belyakov <alexander.belyakov at intel.com>.
Signed-off-by: Ferenc Havasi <havasi at inf.u-szeged.hu>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
fs/jffs2/scan.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
index eca0996..352ada8 100644
--- a/fs/jffs2/scan.c
+++ b/fs/jffs2/scan.c
@@ -365,23 +365,12 @@ #endif
}
kfree(sm);
-
- ofs = jeb->offset;
- prevofs = jeb->offset - 1;
}
buf_ofs = jeb->offset;
if (!buf_size) {
buf_len = c->sector_size;
-
- if (jffs2_sum_active()) {
- /* must reread because of summary test */
- err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len);
- if (err)
- return err;
- }
-
} else {
buf_len = EMPTY_SCAN_SIZE(c->sector_size);
err = jffs2_fill_scan_buf(c, buf, buf_ofs, buf_len);
More information about the linux-mtd-cvs
mailing list