diff options
author | Fam Zheng <famz@redhat.com> | 2013-05-02 10:25:22 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-05-03 10:33:35 +0200 |
commit | 65f7472577f9409d285b0216fae76c7c3f03fc41 (patch) | |
tree | e885e2756e7717e4ad268350d2bed483fe9933ce /block/win32-aio.c | |
parent | 8732901e1b8a5add02a2b747875202133413d565 (diff) |
vmdk: named return code.
Internal routines in vmdk.c previously return -1 on error and 0 on
success. More return values are useful for future changes such as
zeroed-grain GTE. Change all the magic `return 0` and `return -1` to
macro names:
* VMDK_OK 0
* VMDK_ERROR (-1)
* VMDK_UNALLOC (-2)
* VMDK_ZEROED (-3)
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/win32-aio.c')
0 files changed, 0 insertions, 0 deletions