On 2026/2/27 11:34, Chengyu wrote:
From: Chengyu Zhu <[email protected]>

erofsmount_write_recovery_oci() writes source->ocicfg.platform into
recovery files directly, but it could be NULL when not explicitly
configured, causing reattach failures.

Fix this by falling back to ocierofs_get_platform_spec().  Also
refactor it to return a compile-time string literal instead of
asprintf(), eliminating the need for callers to free() the result.

Signed-off-by: Chengyu Zhu <[email protected]>

LGTM, will apply.

Thanks,
Gao Xiang

Reply via email to