#11787 NORM 1.75-fi: ext2 filesystem corrupted by mkdir

Zarro Boogs per Child bugtracker at laptop.org
Thu Apr 19 21:58:08 EDT 2012


#11787: ext2 filesystem corrupted by mkdir
-------------------------------------------+--------------------------------
           Reporter:  Quozl                |       Owner:  Quozl               
               Type:  defect               |      Status:  new                 
           Priority:  normal               |   Milestone:  1.75-firmware       
          Component:  ofw - open firmware  |     Version:  Development firmware
         Resolution:                       |    Keywords:                      
        Next_action:  code                 |    Verified:  0                   
Deployment_affected:                       |   Blockedby:                      
           Blocking:                       |  
-------------------------------------------+--------------------------------
Changes (by Quozl):

  * next_action:  diagnose => code


Comment:

 The inode reference count error is due ''+link-count'' not checking
 filesystem feature bits.

 The directory count wrong error is due to the bg_used_dirs_count value in
 the group descriptor not being maintained by Open Firmware when a
 directory is created, or deleted.  used-dirs+! is easily implemented, but
 the call to it needs to be placed properly in the $mkdir and $rmdir flow.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11787#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list