commit | 8dc8a60c9e52fa446a5135180592c0cd4213acfb | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Thu May 25 14:47:10 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue May 30 17:29:44 2023 +0200 |
tree | 8cfa2a59b33658c1a077326c3b65831a51969c4b | |
parent | 9102f2ebdb71809af1c5ee4a4a255927e3dabca4 [diff] |
block: Take AioContext lock in bdrv_open_driver() bdrv_refresh_total_sectors() and bdrv_refresh_limits() expect to be called under the AioContext lock of the node. Take the lock. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20230525124713.401149-10-kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>