aboutsummaryrefslogtreecommitdiff
path: root/module-common.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2023-02-03 16:21:59 +0100
committerKevin Wolf <kwolf@redhat.com>2023-02-23 19:49:29 +0100
commitd9249c253c28ef836641bea98180784fc2e9f655 (patch)
treeb06ec60ff519c9ef51e946fc6bf40270886724c3 /module-common.c
parent79a292e5ec767eea27a0cc456570ee028f4e3972 (diff)
downloadqemu-d9249c253c28ef836641bea98180784fc2e9f655.zip
qemu-d9249c253c28ef836641bea98180784fc2e9f655.tar.gz
qemu-d9249c253c28ef836641bea98180784fc2e9f655.tar.bz2
block: Mark bdrv_(un)register_buf() GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of bdrv_register_buf() and bdrv_unregister_buf() need to hold a reader lock for the graph. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230203152202.49054-21-kwolf@redhat.com> Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'module-common.c')
0 files changed, 0 insertions, 0 deletions