[Yaffs] [Yaffs-archive] waiting for callback after mtd->erase() failed

Stephan Linke Stephan.Linke@epygi.de
Fri, 5 Dec 2003 09:00:31 +0100


Hi,

there seames to be a problem in nandmtd_EraseBlockInNAND(). When mtd->erase() failed YAFFS is still expecting the callback to be
called. But having a look at nand_erase() shows that the callabck is only called if the return value is zero. This must lead to a
deadlock situation next time YAFFS tries to erase a block.

Regards, Stephan


---------------------------------------------------------------------------------------
This mailing list is hosted by Toby Churchill open software (www.toby-churchill.org).
If mailing list membership is no longer wanted you can remove yourself from the list by 
sending an email to yaffs-request@toby-churchill.org with the text "unsubscribe" 
(without the quotes) as the subject.