aboutsummaryrefslogtreecommitdiff
path: root/block/block-backend.c
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2022-10-25 04:49:51 -0400
committerKevin Wolf <kwolf@redhat.com>2022-10-27 20:14:11 +0200
commita41cfda12674a296579bc5459646ded9547b1220 (patch)
treeba3653301c5f966132d842b142ab6078df53116e /block/block-backend.c
parentd2aafbb68a0390b8166fbf62c572b306f7bf02ce (diff)
downloadqemu-a41cfda12674a296579bc5459646ded9547b1220.zip
qemu-a41cfda12674a296579bc5459646ded9547b1220.tar.gz
qemu-a41cfda12674a296579bc5459646ded9547b1220.tar.bz2
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/block-backend.c')
-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 a91c8d3..705afef 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;