block: Inline bdrv_co_block_status_from_*()
commit549ec0d9783e1a94e502e677fe0ce4a90c0bd7df
authorMax Reitz <mreitz@redhat.com>
Wed, 13 Feb 2019 17:05:23 +0000 (13 18:05 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
treee9688e74c6fd5626fae327b3a52fab73250768e6
parent05ea385afdfe5d0886265880bfd14d17192beb03
block: Inline bdrv_co_block_status_from_*()

With bdrv_filter_bs(), we can easily handle this default filter behavior
in bdrv_co_block_status().

blkdebug wants to have an additional assertion, so it keeps its own
implementation, except bdrv_co_block_status_from_file() needs to be
inlined there.

Suggested-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block/backup-top.c
block/blkdebug.c
block/blklogwrites.c
block/commit.c
block/copy-on-read.c
block/filter-compress.c
block/io.c
block/mirror.c
block/throttle.c
include/block/block_int.h