| commit | dd5b6780f78bcbfc2120d879b092a8380d8bc706 | [log] [tgz] |
|---|---|---|
| author | Paolo Bonzini <pbonzini@redhat.com> | Thu Dec 01 23:49:57 2022 +0100 |
| committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Apr 20 11:17:36 2023 +0200 |
| tree | b69b69ce17768eda100e3e09959fc17bb306a260 | |
| parent | 000eebcfe8824aa35face1d06b0fa3ab3ec2aea8 [diff] |
nbd: a BlockExport always has a BlockBackend exp->common.blk cannot be NULL, nbd_export_delete() is only called (through a bottom half) from blk_exp_unref() and in turn that can only happen after blk_exp_add() has asserted exp->blk != NULL. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>