commit | 8aa045421979e59fa27cae6056471d33406a1eba | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Mon Jun 05 10:57:08 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jun 28 08:46:18 2023 +0200 |
tree | e8a9d9e37dbcd59b6af71804e3a8132d9a1ff61b | |
parent | f665f01f729680077fc0ff2e5489618d9ecc380e [diff] |
block: Fix AioContext locking in bdrv_open_backing_file() bdrv_set_backing() requires the caller to hold the AioContext lock for @backing_hd. Take it in bdrv_open_backing_file() before calling the function. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-ID: <20230605085711.21261-9-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>