]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: mark bdrv_set_backing_hd() as GRAPH_UNLOCKED
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 30 May 2025 15:11:05 +0000 (17:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Jul 2025 13:41:54 +0000 (15:41 +0200)
commitde0d24c711f6d4deaf51de2d5001c0516a10ef22
tree9125055413b4b4890b3723a92d12b05d93d9e571
parentd7573eba14b214d20340eed6880fb8f5cf90d051
block: mark bdrv_set_backing_hd() as GRAPH_UNLOCKED

The function bdrv_set_backing_hd() calls bdrv_drain_all_begin(), which
must be called with the graph unlocked.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-29-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/block/block-global-state.h