On 04.05.2017 19:37, Eric Blake wrote: > Since we are already in coroutine context during the body of > bdrv_co_get_block_status(), we can shave off a few layers of > wrappers when recursing to query the protocol when a format driver > returned BDRV_BLOCK_RAW. > > Note that we are already using the correct recursion later on in > the same function, when probing whether the protocol layer is sparse > in order to find out if we can add BDRV_BLOCK_ZERO to an existing > BDRV_BLOCK_DATA|BDRV_BLOCK_OFFSET_VALID. > > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > block/io.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>
signature.asc
Description: OpenPGP digital signature