Re: [f2fs-dev] [PATCH] f2fs: remove unused check on version_bitmap

2020-09-19 Thread Chao Yu
On 2020/9/19 11:35, Wang Xiaojun wrote: A NULL will not be return by __bitmap_ptr here. Remove the unused check. Signed-off-by: Wang Xiaojun Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net ht

Re: [f2fs-dev] [PATCH] f2fs: remove duplicated code in sanity_check_area_boundary

2020-09-19 Thread Chao Yu
On 2020/9/18 8:31, Wang Xiaojun wrote: Use seg_end_blkaddr instead of "segment0_blkaddr + (segment_count << log_blocks_per_seg)". Signed-off-by: Wang Xiaojun Reviewed-by: Chao Yu Thanks, ___ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.s

Re: [f2fs-dev] [PATCH v2] f2fs: fix wrong total_sections check and fsmeta check

2020-09-19 Thread Chao Yu
On 2020/9/17 19:11, Wang Xiaojun wrote: Meta area is not included in section_count computation. So the minimum number of total_sections is 1 meanwhile it cannot be greater than segment_count_main. The minimum number of meta segments is 8 (SB + 2 (CP + SIT + NAT) + SSA). Signed-off-by: Wang Xiao