Re: [PATCH v2] erofs: fix invalid unmapped accesses in z_erofs_fill_inode_lazy()

From: Chao Yu
Date: Fri Oct 14 2022 - 22:47:28 EST


On 2022/10/5 9:35, Yue Hu wrote:
From: Yue Hu <huyue2@xxxxxxxxxxx>

Note that we are still accessing 'h_idata_size' and 'h_fragmentoff'
after calling erofs_put_metabuf(), that is not correct. Fix it.

Fixes: ab92184ff8f1 ("erofs: add on-disk compressed tail-packing inline support")
Fixes: b15b2e307c3a ("erofs: support on-disk compressed fragments data")
Signed-off-by: Yue Hu <huyue2@xxxxxxxxxxx>

Reviewed-by: Chao Yu <chao@xxxxxxxxxx>

Thanks,