Re: [PATCH 2/2] f2fs: don't check PAGE_SIZE again in sanity_check_raw_super()
From: Chao Yu
Date: Mon Dec 07 2020 - 10:07:24 EST
On 2020/12/7 18:59, liush wrote:
From: Yangtao Li <tiny.windzz@xxxxxxxxx>
Many flash devices read and write a single IO based on a multiple
of 4KB, and we support only 4KB page cache size now.
Since we already check page size in init_f2fs_fs(), so remove page
size check in sanity_check_raw_super().
Signed-off-by: Yangtao Li <tiny.windzz@xxxxxxxxx>
Signed-off-by: Shaohua Liu <liush@xxxxxxxxxxxxxxxxx>
Reviewed-by: Chao Yu <yuchao0@xxxxxxxxxx>
Thanks,