fsck.f2fs: actually flag the fixed dentries as fixed

This is a followup from 056e4b04fc
Now the blk is marked as fixed so that the callers can write it back.

Change-Id: I99c94bc39e772e0d0baab81bd741ce55416ce0e6
Signed-off-by: JP Abgrall <jpa@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
JP Abgrall 2014-11-03 13:27:42 -08:00 committed by Jaegeuk Kim
parent 4eeaff336d
commit 9f87126aed

View File

@ -648,6 +648,7 @@ static int __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt,
i, le32_to_cpu(dentry[i].ino));
clear_bit(i, bitmap);
i++;
fixed = 1;
continue;
}
}
@ -660,6 +661,7 @@ static int __chk_dentries(struct f2fs_sb_info *sbi, u32 *child_cnt,
i, ftype);
clear_bit(i, bitmap);
i++;
fixed = 1;
continue;
}
}