On 2/18/19 10:18 AM, Kevin Wolf wrote: > The only caller of nbd_read_eof() is nbd_receive_reply(), so it doesn't > have to live in the header file, but can move next to its caller. > > Also add the missing coroutine_fn to the function and its caller. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > include/block/nbd.h | 3 ++- > nbd/nbd-internal.h | 19 ------------------- > nbd/client.c | 22 +++++++++++++++++++++- > 3 files changed, 23 insertions(+), 21 deletions(-) >
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization: qemu.org | libvirt.org