diff options
| author | Kevin Wolf | 2018-06-26 13:55:20 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2018-06-29 14:20:56 +0200 |
| commit | 3d9f2d2af63fda5f0404fb85ea80161837a4e4e3 (patch) | |
| tree | 44c47fc34823748d15abd55ae4c54b85a8e4e0a7 /linux-user/linux_loop.h | |
| parent | qcow2: Remove coroutine trampoline for preallocate_co() (diff) | |
| download | qemu-3d9f2d2af63fda5f0404fb85ea80161837a4e4e3.tar.gz qemu-3d9f2d2af63fda5f0404fb85ea80161837a4e4e3.tar.xz qemu-3d9f2d2af63fda5f0404fb85ea80161837a4e4e3.zip | |
block: Move bdrv_truncate() implementation to io.c
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 <kwolf@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
