]> git.ipfire.org Git - thirdparty/qemu.git/commit
block-backend: Reorder flush/pdiscard function definitions
authorKevin Wolf <kwolf@redhat.com>
Tue, 7 Apr 2020 12:12:57 +0000 (14:12 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 7 Apr 2020 13:40:28 +0000 (15:40 +0200)
commit564806c529d4e0acad209b1e5b864a8886092f1f
tree49a1393ce68bb7d36c4d8eca4be0efe787befc23
parenteca0f3524a4eb57d03a56b0cbcef5527a0981ce4
block-backend: Reorder flush/pdiscard function definitions

Move all variants of the flush/pdiscard functions to a single place and
put the blk_co_*() version first because it is called by all other
variants (and will become static in the next patch).

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200407121259.21350-2-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c