commit | 01a10c243362e49afcb7acbd85a47eba64a6fc74 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed May 10 22:35:59 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri May 19 19:12:12 2023 +0200 |
tree | d17db3c765d3a39bcae067de7a0ff12c69712d3d | |
parent | 87f130bdaad68baad4216dbc97dec73ab4a2c4ef [diff] |
test-bdrv-drain: Call bdrv_co_unref() in coroutine context bdrv_unref() is a no_coroutine_fn, so calling it from coroutine context is invalid. Use bdrv_co_unref() instead. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230510203601.418015-7-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>