diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-08-21 14:36:19 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-08-22 11:10:12 +0200 |
commit | 0a156f7c750c4e4e1c5dfb2135debcf399e4e2a7 (patch) | |
tree | 13168ec0fb23c168b0c00e63e7de5426311e4982 /qemu-img-cmds.hx | |
parent | cbf95a0b117461473f05ab3cce4d01ba2b29e60a (diff) |
vmdk: Use bdrv_nb_sectors() where sectors, not bytes are wanted
Instead of bdrv_getlength().
Commit 57322b7 did this all over block, but one more bdrv_getlength()
has crept in since.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions