From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Wed, 13 Apr 2011 16:17:15 +0200 Subject: [U-Boot] [PATCH] JFFS2: bug fix for summary support. In-Reply-To: (Baidu Liu's message of "Wed, 13 Apr 2011 21:19:35 +0800") References: <002f01cbf84d$4e0c24a0$6401a8c0@LENOVOE5CA6843> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Baidu, > Hi, Detlev: > > 2011/4/13 Detlev Zundel : >> 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@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