Skip to content
Commit 714b5440 authored by Fam Zheng's avatar Fam Zheng Committed by Michael Roth
Browse files

vmdk: Fix index_in_cluster calculation in vmdk_co_get_block_status



It has the similar issue with b1649fae. Since the calculation
is repeated for a few times already, introduce a function so it can be
reused.

Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
(cherry picked from commit 61f0ed1d)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent e7e08380
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment