diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-06-01 13:51:44 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 09:46:33 +0200 |
commit | 0af02bd10783e08220a784eb8d7e2f821a64f0fa (patch) | |
tree | 70d64c562f7258fa7ff549a5d9c003340a11ab55 /block/commit.c | |
parent | 70bacc44532f6324473b8d701705cd003e2fe678 (diff) |
block: use bdrv_co_getlength in coroutine context
bdrv_co_getlength was recently introduced, with bdrv_getlength becoming
a wrapper for use in unknown context. Switch to bdrv_co_getlength when
possible.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20230601115145.196465-12-pbonzini@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions