commit | 004915a96a7a40e942ac85e6d22518cbcd283506 | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Oct 27 17:53:26 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Nov 08 17:56:17 2023 +0100 |
tree | f664b5576e09107b86228b8b6fa340f74c907677 | |
parent | ccd6a37947574707613e826e2bf04d55f1d5f238 [diff] |
block: Protect bs->backing with graph_lock 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 <kwolf@redhat.com> Message-ID: <20231027155333.420094-18-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>