MTD CVS update: 'mtd/fs/jffs2 gc.c'

David Woodhouse dwmw2 at infradead.org
Mon Mar 5 04:20:06 EST 2001


Update of /home/cvs/mtd/fs/jffs2
In directory infradead.org:/tmp/cvs-serv27308

Modified Files:
	gc.c 
Log Message:
when gc writes a node which has to cross an eraseblock boundary, and the second part
of the node doesn't compress, we incorrectly set dsize in the second node to the 
size of the _whole_ node being GC'd, which meant that it crossed a page boundary.
When we came back to GC it again later, this made things fuck up. It'd have been
and endless loop if dynrubin compression hadn't been asked to compress zero bytes,
and divided by zero.



To unsubscribe, send "unsubscribe mtd-cvs" to majordomo at infradead.org



More information about the linux-mtd-cvs mailing list