nbd: add errp to read_sync, write_sync and drop_sync
commite44ed99d1949315755bffb12a5a483ac66d4a976
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 16 May 2017 09:45:32 +0000 (16 12:45 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 6 Jun 2017 18:18:36 +0000 (6 20:18 +0200)
tree52ee8fec56a270ed7893e63da4d18e02e53357ea
parentf2609565369429bc1619d106b200106dba29290e
nbd: add errp to read_sync, write_sync and drop_sync

There a lot of calls of these functions, which already have errp, which
they are filling themselves. On the other hand, nbd_wr_syncv has errp
parameter too, so it would be great to connect them.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20170516094533.6160-5-vsementsov@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
nbd/client.c
nbd/nbd-internal.h
nbd/server.c