summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito2022-10-25 10:49:51 +0200
committerKevin Wolf2022-10-27 20:14:11 +0200
commita41cfda12674a296579bc5459646ded9547b1220 (patch)
treeba3653301c5f966132d842b142ab6078df53116e /block
parentblock: remove all unused ->can_set_aio_ctx and ->set_aio_ctx callbacks (diff)
downloadqemu-a41cfda12674a296579bc5459646ded9547b1220.tar.gz
qemu-a41cfda12674a296579bc5459646ded9547b1220.tar.xz
qemu-a41cfda12674a296579bc5459646ded9547b1220.zip
block: rename bdrv_child_try_change_aio_context in bdrv_try_change_aio_context
No functional changes intended. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20221025084952.2139888-10-eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r--block/block-backend.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/block-backend.c b/block/block-backend.c
index a91c8d3916..705afef9b3 100644
--- a/block/block-backend.c
+++ b/block/block-backend.c
@@ -2151,8 +2151,7 @@ static int blk_do_set_aio_context(BlockBackend *blk, AioContext *new_context,
* update_root_node MUST be false for blk_root_set_aio_ctx_commit(),
* as we are already in the commit function of a transaction.
*/
- ret = bdrv_child_try_change_aio_context(bs, new_context, blk->root,
- errp);
+ ret = bdrv_try_change_aio_context(bs, new_context, blk->root, errp);
if (ret < 0) {
bdrv_unref(bs);
return ret;