aboutsummaryrefslogtreecommitdiff
path: root/block/mirror.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-06-25 15:13:43 +0200
committerKevin Wolf <kwolf@redhat.com>2013-06-28 09:20:27 +0200
commitf59fee8d509b446df24843c1145a99b740492725 (patch)
treea9f9cb2b4abfd23d5a9c13a64f907c5855a64a66 /block/mirror.c
parente5ca8fdd407431e281c6f303dc9f45f63a28048f (diff)
block: Make BlockJobTypes const
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/mirror.c')
-rw-r--r--block/mirror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/mirror.c b/block/mirror.c
index 1ae724f705..bed4a7eadd 100644
--- a/block/mirror.c
+++ b/block/mirror.c
@@ -524,7 +524,7 @@ static void mirror_complete(BlockJob *job, Error **errp)
block_job_resume(job);
}
-static BlockJobType mirror_job_type = {
+static const BlockJobType mirror_job_type = {
.instance_size = sizeof(MirrorBlockJob),
.job_type = "mirror",
.set_speed = mirror_set_speed,