#4184 BLOC First D: JFFS2 Dirent Anomaly

Zarro Boogs per Child bugtracker at laptop.org
Sat Oct 13 07:06:35 EDT 2007


#4184: JFFS2 Dirent Anomaly
--------------------------------+-------------------------------------------
  Reporter:  wmb at firmworks.com  |       Owner:  dwmw2                 
      Type:  defect             |      Status:  assigned              
  Priority:  blocker            |   Milestone:  First Deployment, V1.0
 Component:  kernel             |     Version:                        
Resolution:                     |    Keywords:                        
  Verified:  0                  |  
--------------------------------+-------------------------------------------
Changes (by dwmw2):

  * status:  new => assigned


Comment:

 Three fixes committed to mtd-2.6.git tree and cherry-picked into OLPC
 'master' and 'stable' trees:

 1. Sanity check in GC, to make sure the victim node actually got
 obsoleted.
 2. Sanity check in three places for embedded NUL in names on the medium.
 3. Sanity check in dirent creation, for embedded NUL in what we're asked
 to write.

 The first two should suffice to cope with this problem, and similar
 classes of problem, in existing file systems -- while the third should
 highlight this particular problem when it first happens and hopefully give
 us a clue how we got into this situation in the first place.

 If anyone has been able to reproduce this problem, I'd very much
 appreciate them trying to do so again, with the third of my patches
 (commit 69ca4378aa376cf2c49657d4f6951da56c27cd3a in the mtd-2.6.git tree,
 commit 8a4160c1c4579d1519845b95e0891b0ee4c8e209 in the OLPC stable tree).

-- 
Ticket URL: <https://dev.laptop.org/ticket/4184#comment:6>
One Laptop Per Child <https://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list