[PATCH] [JFFS2] allow JFFS2 to discriminate between recoverable and non-recoverable errors

Artem Bityutskiy dedekind1 at gmail.com
Fri May 11 13:05:33 EDT 2012


On Thu, 2012-05-10 at 17:13 +0200, Jean-Christophe DUBOIS wrote:
> This patch is basicaly a reverse of commit f326966b3df47f4fa7e90425f60efdd30c31fe19.
> 
> It allows JFFS2 to make the distinction between a potential transient error
> (reading or writing the media) and a non recoverable error like a bad CRC on
> the extended attribute data or some insconsitent paramaters.
> 
> In order to make clear that the error is indeed intended to report a corrupted
> attribute, a new local error code (JFFS2_XATTR_IS_CORRUPTED) is introduced.
> 
> This error code is never reported to user space and only checked locally in this
> file.

Pushed both to l2-mtd.git, thanks!

Can you confirm that these 2 patches solve the issues you earlier
described on this mailing list?

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120511/22e30857/attachment.sig>


More information about the linux-mtd mailing list