block-backend: Make blk_inc/dec_in_flight public
commitc90e2a9cfd94bd02d92c53b97f04fd595001de7e
authorKevin Wolf <kwolf@redhat.com>
Thu, 14 Feb 2019 17:42:44 +0000 (14 18:42 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 25 Feb 2019 14:03:19 +0000 (25 15:03 +0100)
treeb1c760513e10df48405fa47b70e8a988fd3fc3ec
parent334c43e2c342e878311c66b4e62343f0a7c2c6be
block-backend: Make blk_inc/dec_in_flight public

For some users of BlockBackends, just increasing the in_flight counter
is easier than implementing separate handlers in BlockDevOps. Make the
helper functions for this public.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h