On Tue, Jun 26, 2018 at 04:24:32PM +0200, Kevin Wolf wrote: > This moves the bdrv_truncate() implementation from block.c to block/io.c > so it can have access to the tracked requests infrastructure. > > This involves making refresh_total_sectors() public (in block_int.h). > > Signed-off-by: Kevin Wolf <[email protected]> > --- > include/block/block_int.h | 2 + > block.c | 111 > +--------------------------------------------- > block/io.c | 109 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 112 insertions(+), 110 deletions(-)
Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
