]> Git Repo - qemu.git/commit
block: Loop unsafely in bdrv*drained_end()
authorMax Reitz <[email protected]>
Fri, 19 Jul 2019 09:26:16 +0000 (11:26 +0200)
committerKevin Wolf <[email protected]>
Fri, 19 Jul 2019 11:19:17 +0000 (13:19 +0200)
commit61ad631cee21f878540681274fe0f53e7ee9f59e
treec59608a886e4c76f8673308de57996b11bddf017
parent2afdc790ec0e5cb61d2f738adafa93f990ca553d
block: Loop unsafely in bdrv*drained_end()

The graph must not change in these loops (or a QLIST_FOREACH_SAFE would
not even be enough).  We now ensure this by only polling once in the
root bdrv_drained_end() call, so we can drop the _SAFE suffix.  Doing so
makes it clear that the graph must not change.

Signed-off-by: Max Reitz <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/io.c
This page took 0.024627 seconds and 4 git commands to generate.