diff options
author | Fam Zheng <famcool@gmail.com> | 2011-07-12 19:56:35 +0800 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-07-19 15:39:07 +0200 |
commit | 91b85bd388c3767e6b63aaf33851dbfe87ea24d1 (patch) | |
tree | 36ab22fc25289143b784b47c32113579edd1b826 /hpet.h | |
parent | 69b4d86d9f7feb6083cedb0c5fb65fdc30daf623 (diff) |
VMDK: change get_cluster_offset return type
The return type of get_cluster_offset was an offset that use 0 to denote
'not allocated', this will be no longer true for flat extents, as we see
flat extent file as a single huge cluster whose offset is 0 and length
is the whole file length.
So now we use int return value, 0 means success and otherwise offset
invalid.
Signed-off-by: Fam Zheng <famcool@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hpet.h')
0 files changed, 0 insertions, 0 deletions