On Tue, Apr 25, 2023 at 07:31:51PM +0200, Kevin Wolf wrote: > From: Emanuele Giuseppe Esposito <eespo...@redhat.com> > > This adds GRAPH_RDLOCK annotations to declare that callers of > bdrv_co_get_allocated_file_size() need to hold a reader lock for the > graph. > > Signed-off-by: Emanuele Giuseppe Esposito <eespo...@redhat.com> > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > include/block/block-io.h | 7 +++++-- > include/block/block_int-common.h | 2 +- > block.c | 4 +++- > block/vmdk.c | 2 +- > 4 files changed, 10 insertions(+), 5 deletions(-)
Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org