Re: [PATCH 1/2] erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails

2022-12-06 Thread Chao Yu
On 2022/12/5 23:00, Gao Xiang wrote: Otherwise, meta buffers could be leaked. Fixes: cec6e93beadf ("erofs: support parsing big pcluster compress indexes") Signed-off-by: Gao Xiang Reviewed-by: Chao Yu Thanks,

Re: [PATCH 1/2] erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails

2022-12-05 Thread Yue Hu
On Mon, 5 Dec 2022 23:00:49 +0800 Gao Xiang wrote: > Otherwise, meta buffers could be leaked. > > Fixes: cec6e93beadf ("erofs: support parsing big pcluster compress indexes") > Signed-off-by: Gao Xiang Reviewed-by: Yue Hu > --- > fs/erofs/zmap.c | 6 ++ > 1 file changed, 2

[PATCH 1/2] erofs: fix missing unmap if z_erofs_get_extent_compressedlen() fails

2022-12-05 Thread Gao Xiang
Otherwise, meta buffers could be leaked. Fixes: cec6e93beadf ("erofs: support parsing big pcluster compress indexes") Signed-off-by: Gao Xiang --- fs/erofs/zmap.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/erofs/zmap.c b/fs/erofs/zmap.c index