On Tue, Apr 25, 2023 at 07:31:48PM +0200, Kevin Wolf wrote:
> From: Emanuele Giuseppe Esposito <[email protected]>
> 
> This adds GRAPH_RDLOCK annotations to declare that callers of
> nbd_co_do_establish_connection() need to hold a reader lock for the
> graph.
> 
> Signed-off-by: Emanuele Giuseppe Esposito <[email protected]>
> Signed-off-by: Kevin Wolf <[email protected]>
> ---
>  block/coroutines.h |  5 +++--
>  block/nbd.c        | 39 +++++++++++++++++++++------------------
>  2 files changed, 24 insertions(+), 20 deletions(-)
>

Reviewed-by: Eric Blake <[email protected]>

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


Reply via email to