diff options
author | Kevin Wolf <kwolf@redhat.com> | 2016-05-30 16:48:35 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-07-05 16:46:27 +0200 |
commit | fbcbbf4e80a57298c605f4a2b486280d70c69d00 (patch) | |
tree | e9ef9bdd30f526982395b903b2c8d555fd58c71a /block/vvfat.c | |
parent | f8e2bd538d2c7baccbed0f22b02d08290959ba95 (diff) |
block: Convert bdrv_read() 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/vvfat.c')
-rw-r--r-- | block/vvfat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/vvfat.c b/block/vvfat.c index be9036e643..5f980bbf80 100644 --- a/block/vvfat.c +++ b/block/vvfat.c @@ -1393,7 +1393,7 @@ static int vvfat_read(BlockDriverState *bs, int64_t sector_num, if (bdrv_is_allocated(s->qcow->bs, sector_num, nb_sectors-i, &n)) { DLOG(fprintf(stderr, "sectors %d+%d allocated\n", (int)sector_num, n)); - if (bdrv_read(s->qcow->bs, sector_num, buf + i * 0x200, n)) { + if (bdrv_read(s->qcow, sector_num, buf + i * 0x200, n)) { return -1; } i += n - 1; |