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

This updates the qcow2 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-22-kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-bitmap.c
block/qcow2-cluster.c
block/qcow2.c
block/qcow2.h