qemu-img: improve convert_iteration_sectors()
commit9f1b92add20d244677c916e77d840b6282f691ac
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Fri, 7 Apr 2017 11:34:04 +0000 (7 14:34 +0300)
committerMax Reitz <mreitz@redhat.com>
Fri, 28 Apr 2017 14:02:03 +0000 (28 16:02 +0200)
treed1b136a0f194809679f7119ffc6c1878e8f44f2a
parent504c205a0d4a790dba2be0dc0aab8b8d1b905a7d
qemu-img: improve convert_iteration_sectors()

Do not do extra call to _get_block_status()

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20170407113404.9351-1-vsementsov@virtuozzo.com
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-img.c