From: Alberto Faria Date: Thu, 13 Oct 2022 12:37:01 +0000 (+0200) Subject: commit: switch to *_co_* functions X-Git-Tag: v7.2.0-rc0~32^2~11 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a06678874bf6ed4f437b384749c704e21a4e61b9;p=users%2Fdwmw2%2Fqemu.git commit: switch to *_co_* functions Signed-off-by: Alberto Faria Signed-off-by: Paolo Bonzini Message-Id: <20221013123711.620631-15-pbonzini@redhat.com> Reviewed-by: Kevin Wolf Signed-off-by: Kevin Wolf --- diff --git a/block/commit.c b/block/commit.c index e210e86bac..0029b31944 100644 --- a/block/commit.c +++ b/block/commit.c @@ -135,7 +135,7 @@ static int coroutine_fn commit_run(Job *job, Error **errp) } if (base_len < len) { - ret = blk_truncate(s->base, len, false, PREALLOC_MODE_OFF, 0, NULL); + ret = blk_co_truncate(s->base, len, false, PREALLOC_MODE_OFF, 0, NULL); if (ret) { return ret; }