yaffs: Discard partially written summary data
authorCharles Manning <cdhmanning@gmail.com>
Sun, 3 Apr 2011 19:57:39 +0000 (07:57 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 3 Apr 2011 19:57:39 +0000 (07:57 +1200)
commit8670595b355e66200c97aa1668af04d4eaebaa6b
tree86f491007675cb291fccf63951a08583209a2546
parent1c179647cc26bcc05144dab770f4576979ad7152
yaffs: Discard partially written summary data

A power failure during the write of a multi-chunk summary can leave stuff
lying around that  looks like part of a file. If this is detected then delete it.

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