Re: [Qemu-devel] [PATCH v3 4/7] block: make bdrv_delete() static
Reviewed-by: Wenchao Xia -- Best Regards Wenchao Xia
[Qemu-devel] [PATCH v3 4/7] block: make bdrv_delete() static
Manage BlockDriverState lifecycle with refcnt, so bdrv_delete() is no longer public and should be called by bdrv_unref() if refcnt is decreased to 0. This is an identical change because effectively, there's no multiple reference of BDS now: no caller of bdrv_ref() yet, only bdrv_new() sets bs->ref