[U-Boot] [PATCH] JFFS2: bug fix for summary support.

Detlev Zundel dzu at denx.de
Wed Apr 13 16:17:15 CEST 2011


Hi Baidu,

> Hi, Detlev:
>
> 2011/4/13 Detlev Zundel <dzu at denx.de>:
>> Hi Leo,
>>
>>> This patch fixes some issues with JFFS2 summary support in U-Boot.
>>> 1/ Bug fix for summary support: we need to get the latest DIRENT.
>>
>> Can you give an exmaple how this bug showed?
>>
> For example, if you create a file in linux jffs2 which config summary
> support, then you delete the file , you will not see the file  in
> linux jffs2. But you can also see this file in uboot after you reset
> the system.
> That is because all the nodes in jffs2 which config summary support
> will not be marked as obsolete. The delete file's DIRENT node will be
> seen in uboot. So what we need to do is to get the latest DIRENT whose
> ino in DIRENT is 0. So we will not see this file in uboot which is
> what we want.

Ok, I see.  Please include this in the commit message in the next round.

Cheers
  Detlev

-- 
Actually, to be honest, i see no shame in missing things.  All those
neutrinos don't seem to mind,  despite their direction and energy...
            -- Thien-Thi Nguyen, <87r5gqop65.fsf at ambire.localdomain>
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list