]> Git Repo - qemu.git/commit
block/copy-before-write: drop extra bdrv_unref on failure path
authorVladimir Sementsov-Ogievskiy <[email protected]>
Tue, 24 Aug 2021 08:38:33 +0000 (11:38 +0300)
committerHanna Reitz <[email protected]>
Wed, 1 Sep 2021 12:03:47 +0000 (14:03 +0200)
commit451532311a6c37ac58794305c88307bd7c54526f
treec796d6335d368f5951c0c6b0b29f7f637531fc39
parent3860c0201924d9f7f9b125b8bdda8a8627de4a08
block/copy-before-write: drop extra bdrv_unref on failure path

bdrv_attach_child() do bdrv_unref() on failure, so we shouldn't do it
by hand here.

Signed-off-by: Vladimir Sementsov-Ogievskiy <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Message-Id: <20210824083856[email protected]>
Signed-off-by: Hanna Reitz <[email protected]>
block/copy-before-write.c
This page took 0.025283 seconds and 4 git commands to generate.