From: Chengyu Zhu <hudson...@tencent.com> Make the OCI layer index option more consistent with other OCI options by changing the format from "oci=X" to "oci.layer=X".
Signed-off-by: Chengyu Zhu <hudson...@tencent.com> --- mount/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mount/main.c b/mount/main.c index 5677031..f368746 100644 --- a/mount/main.c +++ b/mount/main.c @@ -82,9 +82,9 @@ static int erofsmount_parse_oci_option(const char *option) struct ocierofs_config *oci_cfg = &nbdsrc.ocicfg; char *p; - p = strstr(option, "oci="); + p = strstr(option, "oci.layer="); if (p != NULL) { - p += strlen("oci="); + p += strlen("oci.layer="); { char *endptr; unsigned long v = strtoul(p, &endptr, 10); -- 2.51.0