diff options
author | Vladimir Sementsov-Ogievskiy | 2019-09-27 14:23:47 +0200 |
---|---|---|
committer | John Snow | 2019-10-17 23:02:32 +0200 |
commit | 859443b0fb7eba258325f75f6444270c50008e65 (patch) | |
tree | 9c35dc96c65039dfb899c68e705dc1190d4d9b5a /include | |
parent | block/dirty-bitmap: refactor bdrv_dirty_bitmap_next (diff) | |
download | qemu-859443b0fb7eba258325f75f6444270c50008e65.tar.gz qemu-859443b0fb7eba258325f75f6444270c50008e65.tar.xz qemu-859443b0fb7eba258325f75f6444270c50008e65.zip |
block: switch reopen queue from QSIMPLEQ to QTAILQ
We'll need reverse-foreach in the following commit, QTAILQ support it,
so move to QTAILQ.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20190927122355.7344-2-vsementsov@virtuozzo.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/block/block.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block.h b/include/block/block.h index 792bb826db..89606bd9f8 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -195,7 +195,7 @@ typedef struct HDGeometry { #define BDRV_BLOCK_EOF 0x20 #define BDRV_BLOCK_RECURSE 0x40 -typedef QSIMPLEQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue; +typedef QTAILQ_HEAD(BlockReopenQueue, BlockReopenQueueEntry) BlockReopenQueue; typedef struct BDRVReopenState { BlockDriverState *bs; |