• K
    block: Remove bdrv_set_aio_context() · 42a65f02
    Kevin Wolf 提交于
    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: NKevin Wolf <kwolf@redhat.com>
    42a65f02
block.h 30.1 KB