aboutsummaryrefslogtreecommitdiff
path: root/block/qed-table.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2016-05-30 12:06:33 +0200
committerKevin Wolf <kwolf@redhat.com>2016-07-05 16:46:26 +0200
commit0d1049c7d1d4266a587be255ef0b602531c05456 (patch)
tree0b6a504ddf93305a8c86ee80541d8b36c93467b8 /block/qed-table.c
parentebb7af217339a971bbac91e3697ba76226154a8c (diff)
block: Convert bdrv_aio_writev() to BdrvChild
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Acked-by: Stefan Hajnoczi <stefanha@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 2db0a332e9..1a731dff51 100644
--- a/block/qed-table.c
+++ b/block/qed-table.c
@@ -154,7 +154,7 @@ static void qed_write_table(BDRVQEDState *s, uint64_t offset, QEDTable *table,
/* Adjust for offset into table */
offset += start * sizeof(uint64_t);
- bdrv_aio_writev(s->bs->file->bs, offset / BDRV_SECTOR_SIZE,
+ bdrv_aio_writev(s->bs->file, offset / BDRV_SECTOR_SIZE,
&write_table_cb->qiov,
write_table_cb->qiov.size / BDRV_SECTOR_SIZE,
qed_write_table_cb, write_table_cb);