diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-02-03 16:21:59 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-02-23 19:49:29 +0100 |
commit | d9249c253c28ef836641bea98180784fc2e9f655 (patch) | |
tree | b06ec60ff519c9ef51e946fc6bf40270886724c3 /module-common.c | |
parent | 79a292e5ec767eea27a0cc456570ee028f4e3972 (diff) | |
download | qemu-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