One of the cases would update the dentries but not set
fixed=1 causing the update to not be written out.

Change-Id: I111d599f93f7d5306dacd7d62da946fdb5c262ee
Signed-off-by: JP Abgrall <[email protected]>
---
:100644 100644 78737d5... fa667dc... M  fsck/fsck.c
 fsck/fsck.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fsck/fsck.c b/fsck/fsck.c
index 78737d5..fa667dc 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -739,6 +739,7 @@ static int __chk_dentries(struct f2fs_sb_info *sbi, u32 
*child_cnt,
                                        dentry[i].file_type);
                        i += slots;
                        free(name);
+                       fixed = 1;
                        continue;
                }
 
-- 
2.1.0.rc2.206.gedb03e5


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to