summaryrefslogtreecommitdiff
path: root/block/commit.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-18 16:49:20 +0200
committerKevin Wolf <kwolf@redhat.com>2012-10-24 10:26:19 +0200
commit65f4632243f526958aa1f6b3911add98329c3796 (patch)
tree027b83613ef691ebe3c2137432665b2c7410468a /block/commit.c
parentb9a9b3a4626aa099f829e2a6036bfaa0c8e47700 (diff)
downloadqemu-65f4632243f526958aa1f6b3911add98329c3796.tar.gz
block: rename block_job_complete to block_job_completed
The imperative will be used for the QMP command. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
-rw-r--r--block/commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/commit.c b/block/commit.c
index 13d9e82471..fae79582d4 100644
--- a/block/commit.c
+++ b/block/commit.c
@@ -160,7 +160,7 @@ exit_restore_reopen:
bdrv_reopen(overlay_bs, s->orig_overlay_flags, NULL);
}
- block_job_complete(&s->common, ret);
+ block_job_completed(&s->common, ret);
}
static void commit_set_speed(BlockJob *job, int64_t speed, Error **errp)