
Hi Baidu,
Hi, Detlev:
2011/4/13 Detlev Zundel dzu@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