void block_job_completed(BlockJob *job, int ret)

{

    BlockDriverState *bs = job->bs;



    assert(bs->job == job);

    job->cb(job->opaque, ret);

    bs->job = NULL;

    bdrv_op_unblock_all(bs, job->blocker);

    error_free(job->blocker);

    g_free(job);

}

void block_job_completed(BlockJob *job, int ret)

{

    BlockDriverState *bs = job->bs;



    assert(bs->job == job);

    job->cb(job->opaque, ret);

    bs->job = NULL;

    bdrv_op_unblock_all(bs, job->blocker);

    error_free(job->blocker);

    g_free(job);

}

void block_job_completed(BlockJob *job, int ret)     BlockDriverState *bs = job->bs;     assert(bs->job == job);     job->cb(job->opaque, ret);
void FUNC_0(BlockJob *VAR_0, int VAR_1)

{

    BlockDriverState *bs = VAR_0->bs;



    assert(bs->VAR_0 == VAR_0);

    VAR_0->cb(VAR_0->opaque, VAR_1);

    bs->VAR_0 = NULL;

    bdrv_op_unblock_all(bs, VAR_0->blocker);

    error_free(VAR_0->blocker);

    g_free(VAR_0);

}

void FUNC_0(BlockJob *VAR_0, int VAR_1)
{ BlockDriverState *bs = VAR_0->bs; assert(bs->VAR_0 == VAR_0); VAR_0->cb(VAR_0->opaque, VAR_1); bs->VAR_0 = NULL; bdrv_op_unblock_all(bs, VAR_0->blocker); error_free(VAR_0->blocker); g_free(VAR_0); }