From: David Woodhouse Date: Sat, 17 Jun 2006 23:05:26 +0000 (+0100) Subject: [JFFS2] Don't trust node headers before the CRC is checked. X-Git-Tag: v2.6.18-rc1~1105^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3877f0b6c9f54d43e55e532404a935b90393b635;p=pandora-kernel.git [JFFS2] Don't trust node headers before the CRC is checked. 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 --- Reading git-diff-tree failed