diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-06-05 10:57:08 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-06-28 08:46:18 +0200 |
commit | 8aa045421979e59fa27cae6056471d33406a1eba (patch) | |
tree | e8a9d9e37dbcd59b6af71804e3a8132d9a1ff61b /LICENSE | |
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>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions