diff options
author | John Snow <jsnow@redhat.com> | 2016-10-27 12:06:56 -0400 |
---|---|---|
committer | Jeff Cody <jcody@redhat.com> | 2016-11-01 07:55:57 -0400 |
commit | f81e0b453275f7b59a4018093eb93d2173790665 (patch) | |
tree | b1b50b19a456877718965a85f143249b44476181 /block/backup.c | |
parent | 559b935f8c5c3139c2e275651da719ffa425cc14 (diff) |
blockjobs: Allow creating internal jobs
Add the ability to create jobs without an ID.
Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Message-id: 1477584421-1399-3-git-send-email-jsnow@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'block/backup.c')
-rw-r--r-- | block/backup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/backup.c b/block/backup.c index 44c7ff3d16..3877d93da6 100644 --- a/block/backup.c +++ b/block/backup.c @@ -612,7 +612,7 @@ void backup_start(const char *job_id, BlockDriverState *bs, } job = block_job_create(job_id, &backup_job_driver, bs, speed, - cb, opaque, errp); + BLOCK_JOB_DEFAULT, cb, opaque, errp); if (!job) { goto error; } |