diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-01-25 17:07:30 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-02-01 14:58:29 +0100 |
commit | 69d34a360dfe773e17e72c76d15931c9b9d190f6 (patch) | |
tree | 0070ee3cd0e6a7366d6c6e519bcaf65a4dff0940 /block/raw-aio.h | |
parent | 59294e465953ffb07d42dc61c827bb98cc0ca423 (diff) |
dmg: Fix bdrv_open() error handling
Return -errno instead of -1 on errors and add error checks in some
places that didn't have one. Passing things by reference requires more
correct typing, replaced a few off_ts therefore - with a 32-bit off_t
this is even a fix for truncation bugs.
While touching the code, fix even some more memory leaks than in the
other drivers...
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/raw-aio.h')
0 files changed, 0 insertions, 0 deletions