[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in jffs2_read_dnode

clesiak@xxxxxxx.com said:
>  I get occasional errors in jffs2_read_dnode.  The "if (crc != ri->
> node_crc)" path is taken.  After adding some extra debugging, I've
> found that the magic number is correct (0x1985) and the nodetype is
> 0xc002; it is of type JFFS2_NODETYPE_INODE, except it is no longer
> accurate. 

You should never be trying to read data from a node which has been marked 
as obsolete. In the few cases where we _do_ want to look at an obsolete 
node, we make sure we mask the obsolete back in before calculating the CRC.

You need to work out why it's trying to read from that node.


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com