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

Unknown INCOMPAT nodetype C002 at 0196f9e0

jffs2_get_inode_nodes() is occasionally generating the message
"Unknown INCOMPAT nodetype C002 at 0196f9e0".

I think this could be caused by garbage collection moving
the node out from under me again.

In this case, it seems as if there is no semaphore to protect the
operation.  Is it true that the intent was to just recheck the obsolete
flag in the low bit of the flash offset after the read of the node?

If so, it seems as if the "if (ref->flash_offset & 1)" should be moved
to before the "switch (node.u.nodetype)".

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