mtd/fs/jffs2 scan.c,1.135,1.136
havasi at infradead.org
havasi at infradead.org
Fri Apr 7 06:00:35 EDT 2006
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv19726
Modified Files:
scan.c
Log Message:
[JFFS2] Remove forgatten summary code
Remove forgatten lines from jffs2_scan_eraseblock() which
were unnecessary and may cause problem in some environments.
Thanks for Alexander Belyakov <alexander.belyakov at intel.com>.
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- scan.c 9 Feb 2006 16:12:59 -0000 1.135
+++ scan.c 7 Apr 2006 10:00:31 -0000 1.136
@@ -360,23 +360,12 @@
}
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_flash_read_safe(c, buf_ofs, buf_len, buf);
- if (err)
- return err;
- }
-
} else {
buf_len = EMPTY_SCAN_SIZE(c->sector_size);
err = jffs2_flash_read_safe(c, buf_ofs, buf_len, buf);
More information about the linux-mtd-cvs
mailing list