issue with eraseall

Earl Manning EManning at PRISMIQ.com
Wed Apr 2 10:55:00 EST 2003


I am using the MTD stuff with a Samsung NAND chip and all is going well, except that I had to change a line in the eraseall program.  As it turns out the clean marker written by the eraseall program puts sizeof( struct jffs2_unknown_node ) [12 bytes] into the totlen element.  When jffs2 tries to mount the now blank partition, the cleanmarker check fails because the value is not 8.

In my implementation I just changed the value written by eraseall to be 8.  

The offending pieces of code are:

	util/eraseall.c:84
	fs/jffs2/wbuf.c:671-675

Is there a better place to post this information?

Thanks,
Earl Manning
 



More information about the linux-mtd mailing list