block: Pass BdrvChild to bdrv_aligned_preadv/pwritev and copy-on-read
commit85c97ca7a10b93216bc95052e9dabe3a4bb8736a
authorKevin Wolf <kwolf@redhat.com>
Thu, 9 Feb 2017 14:58:43 +0000 (9 15:58 +0100)
committerKevin Wolf <kwolf@redhat.com>
Tue, 28 Feb 2017 19:47:50 +0000 (28 20:47 +0100)
treecd7244dec10b3c75bd3212a471b4ca7c6baf412d
parent2807c0cd439321dbac118b895cdd2b595f14bf4b
block: Pass BdrvChild to bdrv_aligned_preadv/pwritev and copy-on-read

This is where we want to check the permissions, so we need to have the
BdrvChild around where they are stored.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/io.c