diff options
author | Alberto Faria | 2022-10-13 14:37:01 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-10-27 20:14:11 +0200 |
commit | a06678874bf6ed4f437b384749c704e21a4e61b9 (patch) | |
tree | 9e8d08cf04ca680920ceaf80ce3eae4d59d90ad9 /block | |
parent | vmdk: manually add more coroutine_fn annotations (diff) | |
download | qemu-a06678874bf6ed4f437b384749c704e21a4e61b9.tar.gz qemu-a06678874bf6ed4f437b384749c704e21a4e61b9.tar.xz qemu-a06678874bf6ed4f437b384749c704e21a4e61b9.zip |
commit: switch to *_co_* functions
Signed-off-by: Alberto Faria <afaria@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20221013123711.620631-15-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |