aboutsummaryrefslogtreecommitdiff
path: root/os-posix.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2017-09-20 15:45:07 +0300
committerEric Blake <eblake@redhat.com>2017-09-25 08:21:26 -0500
commita693437037328a95d815ad5aec37ac2f8e130e58 (patch)
tree1ffe0df80ff9476b798bd645bef54f8de0e3997f /os-posix.c
parent93970672210ca1ee45fdebbc11e1fd97916c7c8e (diff)
downloadqemu-a693437037328a95d815ad5aec37ac2f8e130e58.zip
qemu-a693437037328a95d815ad5aec37ac2f8e130e58.tar.gz
qemu-a693437037328a95d815ad5aec37ac2f8e130e58.tar.bz2
block/nbd-client: nbd_co_send_request: fix return code
It's incorrect to return success rc >= 0 if we skip qio_channel_writev_all() call due to s->quit. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20170920124507.18841-4-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions