aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-06-26 13:23:20 +0200
committerKevin Wolf <kwolf@redhat.com>2014-08-15 15:07:13 +0200
commit30a7f2fc9178080a0ce22c12767ce994f882937e (patch)
tree7457c2318b093e66b8da8f5b6e2e239943cc7628 /exec.c
parent4049082c4b489959850743ec22d1fec125752038 (diff)
block: Use bdrv_nb_sectors() in bdrv_co_get_block_status()
Instead of bdrv_getlength(). Replace variables length, length2 by total_sectors, nb_sectors2. Bonus: use total_sectors instead of the slightly unclean bs->total_sectors. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions