diff options
author | Max Reitz <mreitz@redhat.com> | 2014-10-22 14:09:34 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-10-23 15:34:01 +0200 |
commit | ad27390c85c50df402c7ec0d3864fc43e6559fb3 (patch) | |
tree | 23ae91d9c1dfe2af3d9983da4cb3a3542646044a /qga/commands.c | |
parent | 713d9675e0e31c627d08b6a33d3a92e4b8505b40 (diff) |
qcow2: Split fail code in L1 and L2 checks
Instead of printing out an error message, incrementing check_errors and
returning a fixed -errno, just do cleanups and return -ret, with ret set
by the code which threw the exception (jumped to the fail label).
Also, increment check_errors on error in check_refcounts_l2().
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qga/commands.c')
0 files changed, 0 insertions, 0 deletions