MTD CVS update: 'mtd/fs/jffs intrep.c'

David Woodhouse dwmw2 at infradead.org
Wed Jul 26 11:34:10 EDT 2000


Update of /home/cvs/mtd/fs/jffs
In directory infradead.org:/tmp/cvs-serv17680

Modified Files:
	intrep.c 
Log Message:
When we've already found nodes on the flash, and we find an empty
(0xff) space, treat it as dirty rather than clean:
	/* Added by dwmw2: if we have already found nodes, 
	   then treat this space as dirty rather than clean,
	   unless it extends to the very end of the flash.
	   This is to handle the case where one thread 
	   allocated space for a node, but didn't get to
	   actually _write_ it before power was lost, leaving
	   a gap in the log. Shifting all node writes into
	   a single kernel thread will fix the original problem.
	*/



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



More information about the linux-mtd-cvs mailing list