Skip to content
Commit 42a65f02 authored by Kevin Wolf's avatar Kevin Wolf
Browse files

block: Remove bdrv_set_aio_context()



All callers of bdrv_set_aio_context() are eliminated now, they have
moved to bdrv_try_set_aio_context() and related safe functions. Remove
bdrv_set_aio_context().

With this, we can now know that the .set_aio_ctx callback must be
present in bdrv_set_aio_context_ignore() because
bdrv_can_set_aio_context() would have returned false previously, so
instead of checking the condition, we can assert it.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent 26bf15e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment