aboutsummaryrefslogtreecommitdiff
path: root/block.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 /block.c
parent79a292e5ec767eea27a0cc456570ee028f4e3972 (diff)
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 'block.c')
0 files changed, 0 insertions, 0 deletions