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 this is just a followup cleanup (now that we aren't returning a size, ssize_t is overkill). > > Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com> > --- > nbd/server.c | 18 ++++++++---------- > 1 file changed, 8 insertions(+), 10 deletions(-) Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature