[PATCH v2] erofs: do sanity check on m->type in z_erofs_load_compact_lcluster()

Gao Xiang hsiangkao at linux.alibaba.com
Wed Jul 9 01:22:31 AEST 2025



On 2025/7/8 19:09, Chao Yu wrote:
> All below functions will do sanity check on m->type, let's move sanity
> check to z_erofs_load_compact_lcluster() for cleanup.
> - z_erofs_map_blocks_fo
> - z_erofs_get_extent_compressedlen
> - z_erofs_get_extent_decompressedlen
> - z_erofs_extent_lookback
> 
> Reviewed-by: Hongbo Li <lihongbo22 at huawei.com>
> Signed-off-by: Chao Yu <chao at kernel.org>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list