On 11.03.26 15:54, Fiona Ebner wrote:
If s->replace_blocker was already set by an earlier invocation of mirror_complete(), then there will be an assertion failure when error_setg() is called for it a second time. The bdrv_op_block_all() and bdrv_ref() operations should only be done a single time too.Signed-off-by: Fiona Ebner <[email protected]> --- block/mirror.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-)
Reviewed-by: Hanna Czenczek <[email protected]>
