[PATCH v3 2/2] staging: erofs: fix i_blocks calculation
Chao Yu
yuchao0 at huawei.com
Tue May 28 13:28:37 AEST 2019
On 2019/5/28 11:19, Gao Xiang wrote:
> For compressed files, i_blocks should not be calculated
> by using i_size. use i_u.compressed_blocks instead.
>
> In addition, i_blocks was miscalculated for non-compressed
> files previously, fix it as well.
>
> Signed-off-by: Gao Xiang <gaoxiang25 at huawei.com>
Reviewed-by: Chao Yu <yuchao0 at huawei.com>
Thanks,
More information about the Linux-erofs
mailing list