diff options
author | Fiona Ebner <f.ebner@proxmox.com> | 2025-05-30 17:11:13 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2025-07-14 15:42:08 +0200 |
commit | 7525aa25dbee5213c10a325a4633fd80f577c440 (patch) | |
tree | a24aed23d64a96233b4b52e0c44ac9406aefd7af | |
parent | e2d9cc57905eaabd2b212de2f77993935a7fc271 (diff) | |
download | qemu-7525aa25dbee5213c10a325a4633fd80f577c440.zip qemu-7525aa25dbee5213c10a325a4633fd80f577c440.tar.gz qemu-7525aa25dbee5213c10a325a4633fd80f577c440.tar.bz2 |
block: mark bdrv_inactivate_all() as GRAPH_UNLOCKED
The function bdrv_inactivate_all() calls bdrv_drain_all_begin(), which
must be called with the graph unlocked.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-37-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
-rw-r--r-- | include/block/block-global-state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block-global-state.h b/include/block/block-global-state.h index a641beb..eec92a9 100644 --- a/include/block/block-global-state.h +++ b/include/block/block-global-state.h @@ -187,7 +187,7 @@ int no_coroutine_fn GRAPH_RDLOCK bdrv_inactivate(BlockDriverState *bs, Error **errp); void bdrv_activate_all(Error **errp); -int bdrv_inactivate_all(void); +int GRAPH_UNLOCKED bdrv_inactivate_all(void); int bdrv_flush_all(void); void bdrv_close_all(void); |