static void drive_backup_abort(BlkActionState *common)

{

    DriveBackupState *state = DO_UPCAST(DriveBackupState, common, common);

    BlockDriverState *bs = state->bs;



    /* Only cancel if it's the job we started */

    if (bs && bs->job && bs->job == state->job) {

        block_job_cancel_sync(bs->job);

    }

}

static void drive_backup_abort(BlkActionState *common)

{

    DriveBackupState *state = DO_UPCAST(DriveBackupState, common, common);

    BlockDriverState *bs = state->bs;



    

    if (bs && bs->job && bs->job == state->job) {

        block_job_cancel_sync(bs->job);

    }

}

    BlockDriverState *bs = state->bs;     if (bs && bs->job && bs->job == state->job) {         block_job_cancel_sync(bs->job);     BlockDriverState *bs = state->bs;     if (bs && bs->job && bs->job == state->job) {         block_job_cancel_sync(bs->job);
static void FUNC_0(BlkActionState *VAR_0)

{

    DriveBackupState *state = DO_UPCAST(DriveBackupState, VAR_0, VAR_0);

    BlockDriverState *bs = state->bs;



    

    if (bs && bs->job && bs->job == state->job) {

        block_job_cancel_sync(bs->job);

    }

}

static void FUNC_0(BlkActionState *VAR_0)
{ DriveBackupState *state = DO_UPCAST(DriveBackupState, VAR_0, VAR_0); BlockDriverState *bs = state->bs; if (bs && bs->job && bs->job == state->job) { block_job_cancel_sync(bs->job); } }