aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2016-06-01 15:10:13 -0600
committerKevin Wolf <kwolf@redhat.com>2016-06-08 10:21:08 +0200
commitc1499a5e73ae81b597869263ed8ac87bdaafeff7 (patch)
tree7da43bbf382847893523d95eb6b1b74bdc952406 /include
parenta620f2ae1566a72aac289d40d72decbf95fc6de8 (diff)
downloadqemu-c1499a5e73ae81b597869263ed8ac87bdaafeff7.zip
qemu-c1499a5e73ae81b597869263ed8ac87bdaafeff7.tar.gz
qemu-c1499a5e73ae81b597869263ed8ac87bdaafeff7.tar.bz2
block: Kill bdrv_co_write_zeroes()
Now that all drivers have been converted to a byte interface, we no longer need a sector interface. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/block/block_int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 1dfdf92..8a4963c 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -163,8 +163,6 @@ struct BlockDriver {
* function pointer may be NULL or return -ENOSUP and .bdrv_co_writev()
* will be called instead.
*/
- int coroutine_fn (*bdrv_co_write_zeroes)(BlockDriverState *bs,
- int64_t sector_num, int nb_sectors, BdrvRequestFlags flags);
int coroutine_fn (*bdrv_co_pwrite_zeroes)(BlockDriverState *bs,
int64_t offset, int count, BdrvRequestFlags flags);
int coroutine_fn (*bdrv_co_discard)(BlockDriverState *bs,