commit | e917e2cb2a1715233d173de57a889808b703091e | [log] [tgz] |
---|---|---|
author | Alberto Garcia <berto@igalia.com> | Thu Nov 22 17:00:26 2018 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Feb 01 13:46:44 2019 +0100 |
tree | 191e2e1fe8f7cc41c8a2a5dfb1eb2bf3c9e30a3b | |
parent | cfe6c547690b06fbce54a6d0f7b05dd7f18e36ea [diff] |
mirror: Release the dirty bitmap if mirror_start_job() fails At the moment I don't see how to make this function fail after the dirty bitmap has been created, but if that was possible then we would hit the assert(QLIST_EMPTY(&bs->dirty_bitmaps)) in bdrv_close(). Signed-off-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>