oobavail issues

Thomas Gleixner tglx at linutronix.de
Thu Mar 31 14:20:29 EST 2005


On Thu, 2005-03-31 at 09:29 -0800, Matthew Reimer wrote:
> I'm not sure what is the correct fix--calculate oobavail differently, or to 
> change the loop condition in nand_prepare_oobbuf, or to require 
> nand_oobinfo.oobfree to cover every OOB byte. We just copied from the 
> s3c2410.c, assuming it was correct.

I will fix this. But I still wonder why you hit this problem with JFFS2.
JFFS2 does not provide a filesystem buffer for oob data, so the memcpy
in nand_prepare_oobbuf is never invoked. 

tglx






More information about the linux-mtd mailing list