diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-04-19 17:30:16 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:50 +0200 |
commit | 4ad351819b974d724e926fd23cdd66bec3c9768e (patch) | |
tree | 308f62a669a00a138090cb33e329f0232fdd5baf /block/commit.c | |
parent | 139a9f020d49e9f863e0d46fd3d0b440dfb3b9d7 (diff) | |
download | qemu-4ad351819b974d724e926fd23cdd66bec3c9768e.zip qemu-4ad351819b974d724e926fd23cdd66bec3c9768e.tar.gz qemu-4ad351819b974d724e926fd23cdd66bec3c9768e.tar.bz2 |
job: Move single job finalisation to Job
This moves the finalisation of a single job from BlockJob to Job.
Some part of this code depends on job transactions, and job transactions
call this code, we introduce some temporary calls from Job functions to
BlockJob ones. This will be fixed once transactions move to Job, too.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'block/commit.c')
-rw-r--r-- | block/commit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/commit.c b/block/commit.c index 7a6ae59..e53b2d7 100644 --- a/block/commit.c +++ b/block/commit.c @@ -385,7 +385,7 @@ fail: if (commit_top_bs) { bdrv_replace_node(commit_top_bs, top, &error_abort); } - block_job_early_fail(&s->common); + job_early_fail(&s->common.job); } |