]> Git Repo - qemu.git/commit - nbd/client.c
nbd/client: fix nbd_send_request to return int
authorVladimir Sementsov-Ogievskiy <[email protected]>
Fri, 4 Aug 2017 15:14:27 +0000 (18:14 +0300)
committerEric Blake <[email protected]>
Wed, 30 Aug 2017 18:00:38 +0000 (13:00 -0500)
commit490dc5ed9bfbaf50ed8186c9729a81f530a11188
tree3c434a6065f25c4c35ee117ac25f2cd7d4af6f22
parentba8456442b597848fb5585273c47de8476c3a0c1
nbd/client: fix nbd_send_request to return int

Fix nbd_send_request to return int, as it returns a return value
of nbd_write (which is int), and the only user of nbd_send_request's
return value (nbd_co_send_request) consider it as int too.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Message-Id: <20170804151440[email protected]>
Signed-off-by: Eric Blake <[email protected]>
include/block/nbd.h
nbd/client.c
This page took 0.020981 seconds and 4 git commands to generate.