aboutsummaryrefslogtreecommitdiff
path: root/block/qed-table.c
diff options
context:
space:
mode:
authorAlberto Faria <afaria@redhat.com>2022-10-13 14:37:07 +0200
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commit3aba34adb19131ebfb996f700c518a0352a489ac (patch)
tree125b7a1157d114ebcd8d16dfb857eb52dedde48c /block/qed-table.c
parent38505e2a147c4f9fade382ede4a40e287c7bd846 (diff)
qed: switch to *_co_* functions
Signed-off-by: Alberto Faria <afaria@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20221013123711.620631-21-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qed-table.c')
-rw-r--r--block/qed-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qed-table.c b/block/qed-table.c
index 1cc844b1a5..aa203f2627 100644
--- a/block/qed-table.c
+++ b/block/qed-table.c
@@ -100,7 +100,7 @@ static int coroutine_fn qed_write_table(BDRVQEDState *s, uint64_t offset,
}
if (flush) {
- ret = bdrv_flush(s->bs);
+ ret = bdrv_co_flush(s->bs);
if (ret < 0) {
goto out;
}