aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2014-11-13 15:20:05 -0800
committerJP Abgrall <jpa@google.com>2015-03-23 10:10:26 -0700
commit97e299da3a91d8f558f551d452b4149cb6781750 (patch)
tree758d4b4306c5053b2df87084d64113446899476c
parent7b5d1181a4663c9a55658791de6c04c30e52602a (diff)
downloadf2fs-tools-97e299da3a91d8f558f551d452b4149cb6781750.tar.gz
fsck.f2fs: add a missing 'fixed' during chk_dentries()
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 <jpa@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fsck/fsck.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsck/fsck.c b/fsck/fsck.c
index 994145e..95b4028 100644
--- a/fsck/fsck.c
+++ b/fsck/fsck.c
@@ -737,6 +737,7 @@ static int __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt,
dentry[i].file_type);
i += slots;
free(name);
+ fixed = 1;
continue;
}