Re: [f2fs-dev] [PATCH 3/5] f2fs: check in-memory block bitmap

From: Chao Yu
Date: Mon Jan 09 2017 - 03:43:28 EST


Hi Jaegeuk,

On 2017/1/8 13:02, Jaegeuk Kim wrote:
>> @@ -2786,6 +2811,7 @@ static void destroy_sit_info(struct f2fs_sb_info *sbi)
>> if (sit_i->sentries) {
>> for (start = 0; start < MAIN_SEGS(sbi); start++) {
>> kfree(sit_i->sentries[start].cur_valid_map);
>
> I added:
>
> #ifdef CONFIG_F2FS_CHECK_FS

Oops, thanks for fixing it. :)

Thanks,

>
>> + kfree(sit_i->sentries[start].cur_valid_map_mir);
>
> #endif
>
> Thanks,
>
> .
>