diff options
author | Fam Zheng | 2017-04-21 14:27:04 +0200 |
---|---|---|
committer | Markus Armbruster | 2017-04-24 09:13:44 +0200 |
commit | 78bbd910bb2ff0d7e46d3744f57bcf1ec094fdcb (patch) | |
tree | 584cc28101c67be4d517a721b0e93b80e90a156c /include/block | |
parent | mirror: Make errp the last parameter of mirror_start_job (diff) | |
download | qemu-78bbd910bb2ff0d7e46d3744f57bcf1ec094fdcb.tar.gz qemu-78bbd910bb2ff0d7e46d3744f57bcf1ec094fdcb.tar.xz qemu-78bbd910bb2ff0d7e46d3744f57bcf1ec094fdcb.zip |
block: Make errp the last parameter of commit_active_start
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-Id: <20170421122710.15373-9-famz@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block_int.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h index 59400bd848..4f8cd29ae4 100644 --- a/include/block/block_int.h +++ b/include/block/block_int.h @@ -805,16 +805,16 @@ void commit_start(const char *job_id, BlockDriverState *bs, * a node name should be autogenerated. * @cb: Completion function for the job. * @opaque: Opaque pointer value passed to @cb. - * @errp: Error object. * @auto_complete: Auto complete the job. + * @errp: Error object. * */ void commit_active_start(const char *job_id, BlockDriverState *bs, BlockDriverState *base, int creation_flags, int64_t speed, BlockdevOnError on_error, const char *filter_node_name, - BlockCompletionFunc *cb, void *opaque, Error **errp, - bool auto_complete); + BlockCompletionFunc *cb, void *opaque, + bool auto_complete, Error **errp); /* * mirror_start: * @job_id: The id of the newly-created job, or %NULL to use the |