On 13.08.20 18:29, Kevin Wolf wrote:
> The export close callback is unused by the built-in NBD server. qemu-nbd
> uses it only during shutdown to wait for the unrefed export to actually
> go away. It can just use nbd_export_close_all() instead and do without
> the callback.
> 
> This removes the close callback from nbd_export_new() and makes both
> callers of it more similar.
> 
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  include/block/nbd.h |  3 +--
>  blockdev-nbd.c      |  2 +-
>  nbd/server.c        |  9 +--------
>  qemu-nbd.c          | 14 ++++----------
>  4 files changed, 7 insertions(+), 21 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to