diff options
| author | Alberto Faria <afaria@redhat.com> | 2022-10-13 14:37:01 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2022-10-27 20:14:11 +0200 |
| commit | a06678874bf6ed4f437b384749c704e21a4e61b9 (patch) | |
| tree | 9e8d08cf04ca680920ceaf80ce3eae4d59d90ad9 /block/commit.c | |
| parent | c9d43d0deb367d35bb911a5b2cf8233a426699cd (diff) | |
| download | focaccia-qemu-a06678874bf6ed4f437b384749c704e21a4e61b9.tar.gz focaccia-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/commit.c')
| -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; } |