Re: [Qemu-devel] [PATCH 02/19] nbd/server: get rid of ssize_t

2017-05-30 Thread Eric Blake
On 05/30/2017 09:30 AM, Vladimir Sementsov-Ogievskiy wrote: > Now read_sync and friends return int, so get rid of ssize_t. In particular, it was your earlier commit "nbd: read_sync and friends: return 0 on success" that changed the semantics of the return value to just be 0 instead of a size; and

[Qemu-devel] [PATCH 02/19] nbd/server: get rid of ssize_t

2017-05-30 Thread Vladimir Sementsov-Ogievskiy
Now read_sync and friends return int, so get rid of ssize_t. Signed-off-by: Vladimir Sementsov-Ogievskiy --- nbd/server.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/nbd/server.c b/nbd/server.c index 26096f14e1..03880fd501 100644 --- a/nbd/server.c +++