diff options
author | Kevin Wolf <kwolf@redhat.com> | 2018-04-12 17:54:37 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2018-05-23 14:30:49 +0200 |
commit | e7c1d78bbd5867804debeb7159b137fd9a6c44d3 (patch) | |
tree | 1048aef4f48fe88812d896b0fe4f4497d79e5da0 /include/block/blockjob.h | |
parent | fd61a701f1de8e4c1d89b3716ba9ca749cf5c724 (diff) |
job: Maintain a list of all jobs
This moves the job list from BlockJob to Job. Now we can check for
duplicate IDs in job_create().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/block/blockjob.h')
-rw-r--r-- | include/block/blockjob.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/block/blockjob.h b/include/block/blockjob.h index 640e649034..10bd9f7059 100644 --- a/include/block/blockjob.h +++ b/include/block/blockjob.h @@ -105,9 +105,6 @@ typedef struct BlockJob { */ bool deferred_to_main_loop; - /** Element of the list of block jobs */ - QLIST_ENTRY(BlockJob) job_list; - /** Status that is published by the query-block-jobs QMP API */ BlockDeviceIoStatus iostatus; |