On 7/29/23 9:32 PM, Gao Xiang wrote:
>  
> -int erofs_blob_remap(struct erofs_sb_info *sbi)
> +int tarerofs_write_chunk_data(struct erofs_inode *inode, erofs_off_t 
> data_offset)
> +{
> +     struct erofs_sb_info *sbi = inode->sbi;
> +     unsigned int chunkbits = ilog2(inode->i_size - 1) + 1;

What if inode->i_size is 0 ?


-- 
Thanks,
Jingbo

Reply via email to