Re: [PATCH 18/21] block: Take graph rdlock in bdrv_change_aio_context()

2023-08-21 Thread Emanuele Giuseppe Esposito
Am 17/08/2023 um 14:50 schrieb Kevin Wolf: > The function reads the parents list, so it needs to hold the graph lock. > > Signed-off-by: Kevin Wolf Reviewed-by: Emanuele Giuseppe Esposito

[PATCH 18/21] block: Take graph rdlock in bdrv_change_aio_context()

2023-08-17 Thread Kevin Wolf
The function reads the parents list, so it needs to hold the graph lock. Signed-off-by: Kevin Wolf --- block.c | 4 1 file changed, 4 insertions(+) diff --git a/block.c b/block.c index a82389f742..c0a8460434 100644 --- a/block.c +++ b/block.c @@ -7669,17 +7669,21 @@ static bool bdrv_change