diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-05-04 13:57:37 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-05-10 14:16:53 +0200 |
| commit | 4ee1f854ecbe81492e913bd7699091266992fee7 (patch) | |
| tree | 6110b52c540d73740e495844d633ba9093894828 /scripts/qapi/parser.py | |
| parent | d51c349b642d2c50611085db521cf31f5f985488 (diff) | |
| download | focaccia-qemu-4ee1f854ecbe81492e913bd7699091266992fee7.tar.gz focaccia-qemu-4ee1f854ecbe81492e913bd7699091266992fee7.zip | |
graph-lock: Fix GRAPH_RDLOCK_GUARD*() to be reader lock
GRAPH_RDLOCK_GUARD() and GRAPH_RDLOCK_GUARD_MAINLOOP() only take a reader lock for the graph, so the correct annotation for them to use is TSA_ASSERT_SHARED rather than TSA_ASSERT. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20230504115750.54437-8-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions