]> Git Repo - qemu.git/commit - block/qcow2-refcount.c
block: Use BdrvChild to discard
authorFam Zheng <[email protected]>
Tue, 10 Jul 2018 06:31:17 +0000 (14:31 +0800)
committerKevin Wolf <[email protected]>
Tue, 10 Jul 2018 14:01:52 +0000 (16:01 +0200)
commit0b9fd3f467dc5ac041fa014cd28c949b25b87d25
treedad799a3301d7ae3c789bf810518b889bf67f980
parentecc983a507bec9d3130434702d7031bfd372ba74
block: Use BdrvChild to discard

Other I/O functions are already using a BdrvChild pointer in the API, so
make discard do the same. It makes it possible to initiate the same
permission checks before doing I/O, and much easier to share the
helper functions for this, which will be added and used by write,
truncate and copy range paths.

Signed-off-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/blkdebug.c
block/blklogwrites.c
block/blkreplay.c
block/block-backend.c
block/copy-on-read.c
block/io.c
block/mirror.c
block/qcow2-refcount.c
block/raw-format.c
block/throttle.c
include/block/block.h
This page took 0.027361 seconds and 4 git commands to generate.