]> git.proxmox.com Git - mirror_qemu.git/commit
vhdx: Take locks for accessing bs->file
authorKevin Wolf <kwolf@redhat.com>
Fri, 27 Oct 2023 15:53:31 +0000 (17:53 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Nov 2023 16:56:18 +0000 (17:56 +0100)
commit65ff757df04a541ae6a34c51267e54244627efef
tree43f7546283bc06f4f7c99fee8dc90b4723301ddb
parent8f8973416e231bc1e45b2c4a3d419fbb8ef91c94
vhdx: Take locks for accessing bs->file

This updates the vhdx code to add GRAPH_RDLOCK annotations for all
places that read bs->file.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20231027155333.420094-23-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vhdx-log.c
block/vhdx.c
block/vhdx.h