nbd/client-connection: return only one io channel
commit43cb34dede464c2e9a51ea33bc246b40db5d68d4
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 10 Jun 2021 10:07:56 +0000 (10 13:07 +0300)
committerEric Blake <eblake@redhat.com>
Fri, 18 Jun 2021 17:20:53 +0000 (18 12:20 -0500)
treeb7615e2527419f62b44a5b705644143a01def90a
parent95a078ea3e4863c0d516cf19ebcb5130bc760f49
nbd/client-connection: return only one io channel

block/nbd doesn't need underlying sioc channel anymore. So, we can
update nbd/client-connection interface to return only one top-most io
channel, which is more straight forward.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20210610100802.5888-27-vsementsov@virtuozzo.com>
[eblake: squash in Vladimir's fixes for uninit usage caught by clang]
Signed-off-by: Eric Blake <eblake@redhat.com>
block/nbd.c
include/block/nbd.h
nbd/client-connection.c