mtd/fs/jffs3 gc.c,3.5,3.6
Artem Bityuckiy
dedekind at infradead.org
Tue Dec 21 06:45:09 EST 2004
Update of /home/cvs/mtd/fs/jffs3
In directory phoenix.infradead.org:/tmp/cvs-serv23339
Modified Files:
gc.c
Log Message:
Port JFFS2's fix reported by Pel Hedblom
Index: gc.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs3/gc.c,v
retrieving revision 3.5
retrieving revision 3.6
diff -u -r3.5 -r3.6
--- gc.c 17 Dec 2004 15:02:52 -0000 3.5
+++ gc.c 21 Dec 2004 11:45:06 -0000 3.6
@@ -606,7 +606,7 @@
"driver returned retlen zero\n", nraw->flash_offset);
jffs3_free_raw_node_ref(nraw);
}
- if (!retried && (nraw == jffs3_alloc_raw_node_ref())) {
+ if (!retried && (nraw = jffs3_alloc_raw_node_ref())) {
/* Try to reallocate space and retry */
uint32_t dummy;
struct jffs3_eraseblock *jeb = &c->blocks[phys_ofs / c->sector_size];
More information about the linux-mtd-cvs
mailing list