mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git
synced 2024-11-27 11:43:36 +08:00
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:
parent
4eeaff336d
commit
9f87126aed
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user