aboutsummaryrefslogtreecommitdiff
path: root/block/vmdk.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-07-16 17:48:16 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-07-18 13:18:43 +0100
commit3baca891391afba154e250f5a108c6bab6c92cf9 (patch)
treebebe305b287eeab8e5e6a5d90a4ff07ad75110b8 /block/vmdk.c
parent12ac6d3db721a288c8953c5c253230aa0949a0e1 (diff)
downloadqemu-3baca891391afba154e250f5a108c6bab6c92cf9.zip
qemu-3baca891391afba154e250f5a108c6bab6c92cf9.tar.gz
qemu-3baca891391afba154e250f5a108c6bab6c92cf9.tar.bz2
block: Add Error argument to bdrv_refresh_limits()
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/vmdk.c')
-rw-r--r--block/vmdk.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/block/vmdk.c b/block/vmdk.c
index 27a78da..0517bba 100644
--- a/block/vmdk.c
+++ b/block/vmdk.c
@@ -938,7 +938,7 @@ fail:
}
-static int vmdk_refresh_limits(BlockDriverState *bs)
+static void vmdk_refresh_limits(BlockDriverState *bs, Error **errp)
{
BDRVVmdkState *s = bs->opaque;
int i;
@@ -950,8 +950,6 @@ static int vmdk_refresh_limits(BlockDriverState *bs)
s->extents[i].cluster_sectors);
}
}
-
- return 0;
}
static int get_whole_cluster(BlockDriverState *bs,