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 <>
Reviewed-by: Vladimir Sementsov-Ogievskiy <>
Reviewed-by: Max Reitz <>
Message-Id: <>
Signed-off-by: Kevin Wolf <>
1 file changed