Kevin Wolf c629b6d223 block: Mark bdrv_child_perm() GRAPH_RDLOCK
This adds GRAPH_RDLOCK annotations to declare that callers of
bdrv_child_perm() need to hold a reader lock for the graph because
some implementations access the children list of a node.

The callers of bdrv_child_perm() conveniently already hold the lock.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20230911094620.45040-16-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2023-09-20 17:46:01 +02:00
..
2023-09-08 13:08:52 +03:00
2023-02-24 15:09:39 +00:00
2023-09-08 13:08:52 +03:00
2023-05-30 17:37:26 +02:00
2023-09-08 13:08:52 +03:00
2023-09-11 09:11:22 -04:00
2023-09-08 13:08:52 +03:00
2023-06-01 07:34:03 -04:00
2023-09-08 13:08:52 +03:00
2023-05-30 17:37:26 +02:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00