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

Gao Xiang hsiangkao at linux.alibaba.com
Wed Sep 11 19:04:20 AEST 2024



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.

> 
> 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