[PATCH v3] erofs-utils: lib: fix incorrect nblocks in block list for chunked inodes

Hongzhen Luo hongzhen at linux.alibaba.com
Wed Sep 11 19:10:05 AEST 2024


On 2024/9/11 17:04, Gao Xiang wrote:
>
>
> On 2024/9/11 16:55, Hongzhen Luo wrote:
>> Currently, the number of physical blocks (nblocks) for the last chunk
>> written to the block list file is incorrectly recorded as the inode
>> chunksize.
>>
>> This patch writes the actual number of physical blocks for the inode in
>> the last chunk to the block list file.
>
> You should attach "Fixes:" tags here as I previously suggested.
> I will manually add for this time.
>
Sure, I will do it this way in the future.

Thanks,

Hongzhen Luo

>>
>> Signed-off-by: Hongzhen Luo <hongzhen at linux.alibaba.com>
>
> Otherwise it looks good to me.
>
> Thanks,
> Gao Xiang


More information about the Linux-erofs mailing list