commit | 1f051dcbdf2e4b6f518db731c84e304b2b9d15ce | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Fri Oct 27 17:53:33 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Nov 08 17:56:18 2023 +0100 |
tree | c96479cc14a8cc90443bc4f7fe46afbfa76a4006 | |
parent | a4b740db5ee3db0d5b76a6ea9895875763453187 [diff] |
block: Protect bs->file with graph_lock Almost all functions that access bs->file 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-25-kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>