Re: [PATCH 17/24] block: Protect bs->backing with graph_lock

2023-10-27 Thread Eric Blake
On Fri, Oct 27, 2023 at 05:53:26PM +0200, Kevin Wolf wrote: > Almost all functions that access bs->backing already take the graph > lock now. Add locking to the remaining users and finally annotate the > struct field itself as protected by the graph lock. > > Signed-off-by: Kevin Wolf > --- > in

[PATCH 17/24] block: Protect bs->backing with graph_lock

2023-10-27 Thread Kevin Wolf
Almost all functions that access bs->backing already take the graph lock now. Add locking to the remaining users and finally annotate the struct field itself as protected by the graph lock. Signed-off-by: Kevin Wolf --- include/block/block_int-common.h | 2 +- block.c |