diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:26:56 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
commit | d794f7f3728df0845be978a3c9aecead9d48c81d (patch) | |
tree | 817b5cacc659fda48def5e78a3eaae9766459f82 /crypto/tlscredspsk.c | |
parent | fefee85da055e100ea86d15274106f78502c2819 (diff) |
nbd: Remove NBDExport.close callback
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 <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200924152717.287415-11-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'crypto/tlscredspsk.c')
0 files changed, 0 insertions, 0 deletions