diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-09-29 16:51:42 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-10-12 16:31:33 +0200 |
commit | a32e781838e7231f2239bde0ac2f105dc7072abb (patch) | |
tree | 3a44059bd820f9bef374ff7e4fbcea5b64a8a637 /configs/devices/riscv64-softmmu | |
parent | 7859c45a4662284fde4d6b5548263197e8aa4f24 (diff) |
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 'configs/devices/riscv64-softmmu')
0 files changed, 0 insertions, 0 deletions