public inbox for linux-erofs@ozlabs.org
 help / color / mirror / Atom feed
From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Chengyu <hudson@cyzhu.com>, linux-erofs@lists.ozlabs.org
Cc: Chengyu Zhu <hudsonzhu@tencent.com>
Subject: Re: [PATCH 1/1] erofs-utils: mount: auto-detect platform for OCI recovery files
Date: Fri, 27 Feb 2026 11:42:16 +0800	[thread overview]
Message-ID: <0fd7e92d-1d01-4ea8-82cf-8a9fad5cfb6d@linux.alibaba.com> (raw)
In-Reply-To: <20260227033444.99576-1-hudson@cyzhu.com>



On 2026/2/27 11:34, Chengyu wrote:
> From: Chengyu Zhu <hudsonzhu@tencent.com>
> 
> 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 <hudsonzhu@tencent.com>

LGTM, will apply.

Thanks,
Gao Xiang


      reply	other threads:[~2026-02-27  3:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27  3:34 [PATCH 1/1] erofs-utils: mount: auto-detect platform for OCI recovery files Chengyu
2026-02-27  3:42 ` Gao Xiang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0fd7e92d-1d01-4ea8-82cf-8a9fad5cfb6d@linux.alibaba.com \
    --to=hsiangkao@linux.alibaba.com \
    --cc=hudson@cyzhu.com \
    --cc=hudsonzhu@tencent.com \
    --cc=linux-erofs@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox