diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-04-19 17:54:56 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:50 +0200 |
commit | bb02b65c7d57e4f2136f39bfba95cc68d89eb216 (patch) | |
tree | 1df5ac17eb38186457e82995d6cccab1e90210f4 /qemu-img.c | |
parent | dbe5e6c1f73b41282624b78a2375a5c3ee59e905 (diff) |
job: Move BlockJobCreateFlags to Job
This renames the BlockJobCreateFlags constants, moves a few JOB_INTERNAL
checks to job_create() and the auto_{finalize,dismiss} fields from
BlockJob to Job.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r-- | qemu-img.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-img.c b/qemu-img.c index f3fe903c38..2ab04b285a 100644 --- a/qemu-img.c +++ b/qemu-img.c @@ -1014,7 +1014,7 @@ static int img_commit(int argc, char **argv) aio_context = bdrv_get_aio_context(bs); aio_context_acquire(aio_context); - commit_active_start("commit", bs, base_bs, BLOCK_JOB_DEFAULT, 0, + commit_active_start("commit", bs, base_bs, JOB_DEFAULT, 0, BLOCKDEV_ON_ERROR_REPORT, NULL, common_block_job_cb, &cbi, false, &local_err); aio_context_release(aio_context); |