JFFS2: Process obsolete nodes as well as accurate ones
authorPetr Borsodi <petr.borsodi@i.cz>
Thu, 7 May 2020 10:25:55 +0000 (12:25 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 15 May 2020 18:47:35 +0000 (14:47 -0400)
commit25ec2282ebbcd09af0f8f714abbc9bab89659e9a
treedbfaa27820089487ecdff69156f792ba3cf0952c
parent1bc5d3a568efe2e0337760c72e78961bf380ba34
JFFS2: Process obsolete nodes as well as accurate ones

Obsolete nodes (ie. without the JFFS2_NODE_ACCURATE flag) were ignored
because they had seemingly invalid crc. This could lead to finding
the phantom node header in obsolete node data.

Signed-off-by: Petr Borsodi <petr.borsodi@i.cz>
fs/jffs2/jffs2_1pass.c