Re: [PATCH] erofs-utils: fsck: extract chunk-based file with hole correctly

2024-04-22 Thread Gao Xiang
On 2024/4/22 18:05, Yifan Zhao wrote: Currently fsck skips file extraction if it finds that EROFS_MAP_MAPPED is unset, which is not the case for chunk-based files with hole. This patch handles the corner case correctly. Signed-off-by: Yifan Zhao --- fsck/main.c | 13 + 1 file

[PATCH] erofs-utils: fsck: extract chunk-based file with hole correctly

2024-04-22 Thread Yifan Zhao
Currently fsck skips file extraction if it finds that EROFS_MAP_MAPPED is unset, which is not the case for chunk-based files with hole. This patch handles the corner case correctly. Signed-off-by: Yifan Zhao --- fsck/main.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-)