Home
last modified time | relevance | path

Searched hist:"3877 f0b6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/jffs2/
H A Dreadinode.c3877f0b6 Sat Jun 17 18:05:26 CDT 2006 David Woodhouse <dwmw2@infradead.org> [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>
3877f0b6 Sat Jun 17 18:05:26 CDT 2006 David Woodhouse <dwmw2@infradead.org> [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>