Fam Zheng 61f0ed1d54 vmdk: Fix index_in_cluster calculation in vmdk_co_get_block_status
It has the similar issue with b1649fae49a8. Since the calculation
is repeated for a few times already, introduce a function so it can be
reused.

Signed-off-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-06-12 15:54:01 +02:00
..
2015-02-06 17:24:21 +01:00
2015-04-28 15:36:09 +02:00
2015-05-11 08:59:07 -04:00
2015-06-12 15:54:01 +02:00
2015-06-12 15:54:01 +02:00
2015-02-16 15:07:19 +00:00
2015-04-28 15:36:08 +02:00