[OpenBIOS] r749 - ofw/fs/jffs2

svn at openbios.org svn at openbios.org
Wed Dec 5 02:57:25 CET 2007


Author: wmb
Date: 2007-12-05 02:57:25 +0100 (Wed, 05 Dec 2007)
New Revision: 749

Modified:
   ofw/fs/jffs2/jffs2.fth
Log:
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.


Modified: ofw/fs/jffs2/jffs2.fth
===================================================================
--- 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




More information about the OpenBIOS mailing list