]> git.ipfire.org Git - thirdparty/qemu.git/commit
block: drop wrapper for bdrv_set_backing_hd_drained()
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 30 May 2025 15:11:07 +0000 (17:11 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Jul 2025 13:41:58 +0000 (15:41 +0200)
commit54eb59d668d6e4e7584188628ca44f3e9bd39d17
tree9eeb83388aac23f12f30a261e614a1d0807c0235
parentc7af387c7b58f8ffcd412b175768f6ccd591b1fc
block: drop wrapper for bdrv_set_backing_hd_drained()

Nearly all callers (outside of the tests) are already using the
_drained() variant of the function. It doesn't seem worth keeping.
Simply adapt the remaining callers of bdrv_set_backing_hd() and rename
bdrv_set_backing_hd_drained() to bdrv_set_backing_hd().

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20250530151125.955508-31-f.ebner@proxmox.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/commit.c
block/mirror.c
block/stream.c
blockdev.c
include/block/block-global-state.h
tests/unit/test-bdrv-drain.c
tests/unit/test-bdrv-graph-mod.c