[PATCH 2/2] erofs-utils: lib: oci: restrict `ocierofs_io_open()` to single-layer images

Gao Xiang hsiangkao at linux.alibaba.com
Mon Dec 29 12:43:32 AEDT 2025



On 2025/12/27 16:48, zhaoyifan (H) wrote:
> Hi Xiang,
> 
> Could you consider apply this patch first? As we disscussed before it prevents subprocess
> 
> from segfault while oci.layer or oci.blob is not specified in mount.erofs.
> 
> 
> We would better not add an error print for now until we refactor the current codebase and
> 
> fork one child process for both netlink and ioctl, otherwise double error messages are shown.

Could you send me a patch list so I can apply in order?
Or you could just resend with a new series.

As a generic rule, bugfixes should go first before any refactoring,
since refactoring impacts more usually.

Thanks,
Gao Xiang

> 
> 
> Thanks,
> 
> Yifan Zhao
> 


More information about the Linux-erofs mailing list