Help needed with corruption detection/ubifs_wbuf_sync_nolock
dedekind1 at gmail.com
Wed Jun 27 10:23:14 EDT 2012
On Mon, 2012-06-25 at 07:48 -0700, Reginald Perrin wrote:
> I'm now doing this, and it seems to work. Is this correct?
> if ( wbuf->dtype != UBI_UNKNOWN && ((struct ubifs_ch *)wbuf->buf)->node_type > UBIFS_ORPH_NODE )
I do not think so, wbuf->buf points to a random byte, not to the
beginning of a node.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: This is a digitally signed message part
More information about the linux-mtd