[PATCH] [JFFS2] check xattr data integrity during first GC scan.

Artem Bityutskiy dedekind1 at gmail.com
Thu May 10 08:59:30 EDT 2012


On Tue, 2012-05-08 at 14:41 +0200, Jean-Christophe DUBOIS wrote:
> This patch allows JFFS2 to distinguish between a recoverable
> and non recoverable errors and to act accordingly.
> 
> Furthermore, extended attribute integrity is now checked on
> first GC pass (at the same time as the file data integrity
> is checked).
> 
> Signed-off-by: Jean-Christophe DUBOIS <jcd at tribudubois.net>

Please, separate out the error code stuff and the checking stuff.
This should be at least 2 patches.

For the error code part - make sure you checked that the
JFFS2_XATTR_IS_CORRUPTED is never propagated to the user-space, if you
have to introduce it.

-- 
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/20120510/8615831b/attachment.sig>


More information about the linux-mtd mailing list