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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Stephan Linke
Date:  
To: Yaffs List
Subject: [Yaffs-archive] waiting for callback after mtd->erase() failed
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 with the text "unsubscribe"
(without the quotes) as the subject.