diff options
author | Max Reitz <mreitz@redhat.com> | 2019-07-19 11:26:16 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2019-07-19 13:19:17 +0200 |
commit | 61ad631cee21f878540681274fe0f53e7ee9f59e (patch) | |
tree | c59608a886e4c76f8673308de57996b11bddf017 /linux-user/sparc/target_signal.h | |
parent | 2afdc790ec0e5cb61d2f738adafa93f990ca553d (diff) |
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 <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user/sparc/target_signal.h')
0 files changed, 0 insertions, 0 deletions