OSDN Git Service

raw-win32: Fix write request error handling
authorKevin Wolf <kwolf@redhat.com>
Wed, 23 Sep 2015 12:58:21 +0000 (14:58 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2015 11:48:29 +0000 (13:48 +0200)
commit5d555030ba10ef3be12cd75a121a7cd5f6ef9bd2
tree78a8f8f166901041c8dde7cd880625c01eff864e
parentff770b07f34d28b79013a83989bd6c85f8f16b2f
raw-win32: Fix write request error handling

aio_worker() wrote the return code to the wrong variable.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Guangmu Zhu <guangmuzhu@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/raw-win32.c