diff options
| author | Jeff Cody | 2016-04-06 05:11:34 +0200 |
|---|---|---|
| committer | Jeff Cody | 2016-04-19 18:24:59 +0200 |
| commit | a882745356b17925b83c93d0b821adba8050236f (patch) | |
| tree | 86fe803a086e022a714384c9ff2a8ae62fa73f90 /tests/qapi-schema/include-format-err.err | |
| parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-fw_cfg-2016-04-19' int... (diff) | |
| download | qemu-a882745356b17925b83c93d0b821adba8050236f.tar.gz qemu-a882745356b17925b83c93d0b821adba8050236f.tar.xz qemu-a882745356b17925b83c93d0b821adba8050236f.zip | |
block/gluster: return correct error value
Upon error, gluster will call the aio callback function with a
ret value of -1, with errno set to the proper error value. If
we set the acb->ret value to the return value in the callback,
that results in every error being EPERM (i.e. 1). Instead, set
it to the proper error result.
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'tests/qapi-schema/include-format-err.err')
0 files changed, 0 insertions, 0 deletions
