]> git.proxmox.com Git - mirror_qemu.git/commit - include/block/block_int-common.h
block: Mark bdrv_co_delete_file() and callers GRAPH_RDLOCK
authorKevin Wolf <kwolf@redhat.com>
Fri, 3 Feb 2023 15:22:00 +0000 (16:22 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 23 Feb 2023 18:49:30 +0000 (19:49 +0100)
commit48aef7944090fdddd6a89e07b790798cf31b56a4
treedf5fb4667741e61700e0d0ff0f24ed743a89ff87
parentd9249c253c28ef836641bea98180784fc2e9f655
block: Mark bdrv_co_delete_file() and callers GRAPH_RDLOCK

This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_co_delete_file() need to hold a reader lock for the graph.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230203152202.49054-22-kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
include/block/block-io.h
include/block/block_int-common.h