On Thu, Aug 17, 2023 at 02:50:12PM +0200, Kevin Wolf wrote: > The function reads the parents list, so it needs to hold the graph lock. > > Signed-off-by: Kevin Wolf <kw...@redhat.com> > --- > include/block/block_int-common.h | 6 ++--- > include/block/block_int-global-state.h | 8 +++--- > include/sysemu/block-backend-global-state.h | 4 +-- > block.c | 28 +++++++++++++-------- > block/block-backend.c | 26 ++++++++++++++----- > block/crypto.c | 6 +++-- > block/mirror.c | 8 ++++++ > block/vmdk.c | 2 ++ > tests/unit/test-bdrv-graph-mod.c | 4 +++ > 9 files changed, 66 insertions(+), 26 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature