aboutsummaryrefslogtreecommitdiff
path: root/include/block
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-05-04 13:57:47 +0200
committerKevin Wolf <kwolf@redhat.com>2023-05-10 14:16:54 +0200
commit6ec75a6a3ed9d6ff3161d1f97c497909906495bd (patch)
treeff7f5cf2b54197a81c4d13402134e57a8be7b08a /include/block
parent840428a2669c90f75cf0d26a06bdfe6f51755fae (diff)
downloadqemu-6ec75a6a3ed9d6ff3161d1f97c497909906495bd.zip
qemu-6ec75a6a3ed9d6ff3161d1f97c497909906495bd.tar.gz
qemu-6ec75a6a3ed9d6ff3161d1f97c497909906495bd.tar.bz2
block: Mark bdrv_query_bds_stats() and callers GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of bdrv_query_bds_stats() 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> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-Id: <20230504115750.54437-18-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/block')
0 files changed, 0 insertions, 0 deletions