On 28.05.2014 16:25, Markus Armbruster wrote:
bdrv_get_geometry() hides errors.  Use bdrv_nb_sectors() or
bdrv_getlength() instead where that's obviously inappropriate.

Signed-off-by: Markus Armbruster <arm...@redhat.com>
---
  block.c      | 11 ++++++++---
  block/qapi.c | 14 ++++++++++----
  qemu-img.c   | 59 +++++++++++++++++++++++++++++++++++++++++++++--------------
  3 files changed, 63 insertions(+), 21 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Reply via email to