Date: 2007-12-05 02:57:25 +0100 (Wed, 05 Dec 2007)
New Revision: 749
OLPC trac 5322 - If the first dirent in block n+1 had the same name and pino
as the last dirent in block n, but has an earlier version, it incorrectly
superseded the last dirent. This was a side effect of an earlier optimization
to eliminate the storing of junk dirents.
--- ofw/fs/jffs2/jffs2.fth 2007-12-03 05:27:55 UTC (rev 748)
+++ ofw/fs/jffs2/jffs2.fth 2007-12-05 01:57:25 UTC (rev 749)
@@ -836,6 +836,7 @@
inodes 'next-inode !
pages/chip 0 do
i page>eblock to the-eblock#
+ 0 prev-name c!
i h# 3fff and 0= if scan-callout then
i no-summary? if
i possible-nodes? if i scan-raw-nodes then