Re: [PATCH 20/24] block: Add missing GRAPH_RDLOCK annotations

2023-10-30 Thread Eric Blake
On Fri, Oct 27, 2023 at 05:53:29PM +0200, Kevin Wolf wrote: > This adds GRAPH_RDLOCK to some driver callbacks that are already called > with the graph lock held, and which will need the annotation because > they access bs->file, but don't have it yet. > > This also covers a few callbacks that were

[PATCH 20/24] block: Add missing GRAPH_RDLOCK annotations

2023-10-27 Thread Kevin Wolf
This adds GRAPH_RDLOCK to some driver callbacks that are already called with the graph lock held, and which will need the annotation because they access bs->file, but don't have it yet. This also covers a few callbacks that were not marked GRAPH_RDLOCK before, but where updating BlockDriver is tri