Skip to content
Snippets Groups Projects
Commit 4ec8df01 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

block: Mark bdrv_co_create() and callers GRAPH_RDLOCK


This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_co_create() need to hold a reader lock for the graph.

Signed-off-by: default avatarEmanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Message-Id: <20230203152202.49054-17-kwolf@redhat.com>
Reviewed-by: default avatarEmanuele Giuseppe Esposito <eesposit@redhat.com>
Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 7b9e8b22
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment