scan.c & ACCURATE
Joakim Tjernlund
Joakim.Tjernlund at lumentis.se
Wed Feb 27 02:34:29 EST 2002
>
> Joakim.Tjernlund at lumentis.se said:
> > Patch 1 skips scanning of inodes and dirents which are obsoleted.
> > Improves scan speed.
>
> You're trusting ri.totlen before verifying ri.node_crc. Naughty.
Totlen has been checked by jffs2_scan_eraseblock() before calling
jffs2_scan_inode_node(), but that is not obvious. Move it to after the CRC
check
if you like.
Jocke
More information about the linux-mtd
mailing list