summary refs log tree commit diff stats
path: root/scripts/xml-preprocess.py
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-09-29 16:51:42 +0200
committerKevin Wolf <kwolf@redhat.com>2023-10-12 16:31:33 +0200
commita32e781838e7231f2239bde0ac2f105dc7072abb (patch)
tree3a44059bd820f9bef374ff7e4fbcea5b64a8a637 /scripts/xml-preprocess.py
parent7859c45a4662284fde4d6b5548263197e8aa4f24 (diff)
downloadfocaccia-qemu-a32e781838e7231f2239bde0ac2f105dc7072abb.tar.gz
focaccia-qemu-a32e781838e7231f2239bde0ac2f105dc7072abb.zip
block: Mark bdrv_snapshot_fallback() and callers GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_snapshot_fallback() need to hold a reader lock for the graph
because it accesses the children list of a node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-ID: <20230929145157.45443-8-kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/xml-preprocess.py')
0 files changed, 0 insertions, 0 deletions