Skip to content
Commit 61f0ed1d authored by Fam Zheng's avatar Fam Zheng Committed by Kevin Wolf
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>
parent bc85ef26
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