diff options
author | Fiona Ebner <f.ebner@proxmox.com> | 2025-05-30 17:11:22 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2025-07-14 15:42:25 +0200 |
commit | 6d7e3f8de09d92f9ebea530be3696ed053ae8508 (patch) | |
tree | 1dfa159905c7a41d48931012d352b13ebe38767d | |
parent | 94371745d763755efde8442c40a2cd02571f2b5e (diff) | |
download | qemu-6d7e3f8de09d92f9ebea530be3696ed053ae8508.zip qemu-6d7e3f8de09d92f9ebea530be3696ed053ae8508.tar.gz qemu-6d7e3f8de09d92f9ebea530be3696ed053ae8508.tar.bz2 |
block: mark bdrv_close_all() as GRAPH_UNLOCKED
The function bdrv_close_all() calls bdrv_drain_all(), which must be
called with the graph unlocked.
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-46-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 d3dd951..e7c9acd 100644 --- a/include/block/block-global-state.h +++ b/include/block/block-global-state.h @@ -192,7 +192,7 @@ void bdrv_activate_all(Error **errp); int GRAPH_UNLOCKED bdrv_inactivate_all(void); int bdrv_flush_all(void); -void bdrv_close_all(void); +void GRAPH_UNLOCKED bdrv_close_all(void); void GRAPH_UNLOCKED bdrv_drain_all_begin(void); void bdrv_drain_all_begin_nopoll(void); void bdrv_drain_all_end(void); |