diff options
| author | Fiona Ebner <f.ebner@proxmox.com> | 2025-05-30 17:11:03 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2025-07-14 15:41:38 +0200 |
| commit | 47bc2ed6f6a8eb637ede90c0545bca082b68379f (patch) | |
| tree | 9da5b95153d6bf7e7ba6eca3460482e4b421b624 /rust/qemu-api-macros/src/lib.rs | |
| parent | 9918b2e95ed55680e5b2016149dd51610c698611 (diff) | |
| download | focaccia-qemu-47bc2ed6f6a8eb637ede90c0545bca082b68379f.tar.gz focaccia-qemu-47bc2ed6f6a8eb637ede90c0545bca082b68379f.zip | |
block/commit: switch to bdrv_set_backing_hd_drained() variant
This is in preparation to mark bdrv_set_backing_hd() as GRAPH_UNLOCKED. Switch to using the bdrv_set_backing_hd_drained() variant. For the first pair of calls to avoid draining and locking twice in a row within the individual calls. For the third call, so that the drained and locked section can also cover bdrv_cow_bs(). Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Message-ID: <20250530151125.955508-27-f.ebner@proxmox.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src/lib.rs')
0 files changed, 0 insertions, 0 deletions