/* Abort the reopen, and delete and free the staged changes in reopen_state  */
void bdrv_reopen_abort(BDRVReopenState *reopen_state)
/* Abort the reopen, and delete and free the staged changes in reopen_state  */
void bdrv_reopen_abort(BDRVReopenState *reopen_state)
{
    BlockDriver *drv;
    assert(reopen_state != NULL);
    drv = reopen_state->bs->drv;
    assert(drv != NULL);
    if (drv->bdrv_reopen_abort) {
        drv->bdrv_reopen_abort(reopen_state);
    }
}