commit | 3877f0b6c9f54d43e55e532404a935b90393b635 | [log] [tgz] |
---|---|---|
author | David Woodhouse <dwmw2@infradead.org> | Sun Jun 18 00:05:26 2006 +0100 |
committer | David Woodhouse <dwmw2@infradead.org> | Sun Jun 18 00:05:26 2006 +0100 |
tree | b22e658ee19ea83c630c6464ed9c7a46d8073606 | |
parent | 21c8db9eff95260e543535dfc6f27164c4c0c0ff [diff] |
[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 <dwmw2@infradead.org>