Searched hist:"1 bab38e7bd29347aca642c55a1de91ec6680efce" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 1bab38e7bd29347aca642c55a1de91ec6680efce Fri Jun 29 06:37:01 CDT 2018 Alberto Garcia <berto@igalia.com> block: Simplify bdrv_reopen_abort()
If a bdrv_reopen_multiple() call fails, then the explicit_options QDict has to be deleted for every entry in the reopen queue. This must happen regardless of whether that entry's bdrv_reopen_prepare() call succeeded or not.
This patch simplifies the cleanup code a bit.
Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|