[JFFS2] Don't trust node headers before the CRC is checked.
authorDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jun 2006 23:05:26 +0000 (00:05 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 17 Jun 2006 23:05:26 +0000 (00:05 +0100)
Especially when summary code is used, we can have in-memory data
structures referencing certain nodes without them actually being readable
on the flash. Discard the nodes gracefully in that case, rather than
triggering a BUG().

Signed-off-by: David Woodhouse <dwmw2@infradead.org>

No differences found