diff options
author | Emanuele Giuseppe Esposito | 2022-10-25 10:49:52 +0200 |
---|---|---|
committer | Kevin Wolf | 2022-10-27 20:14:11 +0200 |
commit | 142e6907120d12de1e7ac402e556597ebbab86e8 (patch) | |
tree | 2cfe728224f939e1b6f13cbc560daa3bd3c37c5a /block | |
parent | block: rename bdrv_child_try_change_aio_context in bdrv_try_change_aio_context (diff) | |
download | qemu-142e6907120d12de1e7ac402e556597ebbab86e8.tar.gz qemu-142e6907120d12de1e7ac402e556597ebbab86e8.tar.xz qemu-142e6907120d12de1e7ac402e556597ebbab86e8.zip |
block: remove bdrv_try_set_aio_context and replace it with bdrv_try_change_aio_context
No functional change intended.
Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20221025084952.2139888-11-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
-rw-r--r-- | block/export/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/export/export.c b/block/export/export.c index 4744862915..7cc0c25c1c 100644 --- a/block/export/export.c +++ b/block/export/export.c @@ -129,7 +129,7 @@ BlockExport *blk_exp_add(BlockExportOptions *export, Error **errp) /* Ignore errors with fixed-iothread=false */ set_context_errp = fixed_iothread ? errp : NULL; - ret = bdrv_try_set_aio_context(bs, new_ctx, set_context_errp); + ret = bdrv_try_change_aio_context(bs, new_ctx, NULL, set_context_errp); if (ret == 0) { aio_context_release(ctx); aio_context_acquire(new_ctx); |