aboutsummaryrefslogtreecommitdiff
path: root/blockjob.h
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 /blockjob.h
parentb9a9b3a4626aa099f829e2a6036bfaa0c8e47700 (diff)
downloadqemu-65f4632243f526958aa1f6b3911add98329c3796.zip
qemu-65f4632243f526958aa1f6b3911add98329c3796.tar.gz
qemu-65f4632243f526958aa1f6b3911add98329c3796.tar.bz2
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 'blockjob.h')
-rw-r--r--blockjob.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/blockjob.h b/blockjob.h
index 930cc3c..c2261a9 100644
--- a/blockjob.h
+++ b/blockjob.h
@@ -135,14 +135,14 @@ void *block_job_create(const BlockJobType *job_type, BlockDriverState *bs,
void block_job_sleep_ns(BlockJob *job, QEMUClock *clock, int64_t ns);
/**
- * block_job_complete:
+ * block_job_completed:
* @job: The job being completed.
* @ret: The status code.
*
* Call the completion function that was registered at creation time, and
* free @job.
*/
-void block_job_complete(BlockJob *job, int ret);
+void block_job_completed(BlockJob *job, int ret);
/**
* block_job_set_speed: