mtd/fs/jffs2 scan.c,1.102,1.103
David Woodhouse
dwmw2 at infradead.org
Tue Oct 7 10:46:26 EDT 2003
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv2195
Modified Files:
scan.c
Log Message:
Free raw node ref when crc32 fails.
Index: scan.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/scan.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- scan.c 4 Oct 2003 08:33:07 -0000 1.102
+++ scan.c 7 Oct 2003 14:46:23 -0000 1.103
@@ -682,6 +682,7 @@
ofs, je32_to_cpu(ri->node_crc), crc);
/* We believe totlen because the CRC on the node _header_ was OK, just the node itself failed. */
DIRTY_SPACE(PAD(je32_to_cpu(ri->totlen)));
+ jffs2_free_raw_node_ref(raw);
return 0;
}
ic = jffs2_scan_make_ino_cache(c, ino);
More information about the linux-mtd-cvs
mailing list