yaffs: Fix issues kicked up by fuzz testing
authorCharles Manning <cdhmanning@gmail.com>
Wed, 4 Aug 2010 02:04:13 +0000 (14:04 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 4 Aug 2010 02:04:13 +0000 (14:04 +1200)
commit2d221c0839d2e8733f52ee31e72e7f81faecb6cc
treeff1007c22548ffa01c36636ccd327a3701eded40
parentd22f3456a462be87d8fa7c69c06bd22a95522a0f
yaffs: Fix issues kicked up by fuzz testing

Some more problems kicked up by fuzz testing:
* Further verification of chunk tags.
* If loading details for root dir or lost+found then don't change the
*  variant type since we know they are directories.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_yaffs2.c