block: bdrv_cow_child() for bdrv_has_zero_init()
authorMax Reitz <mreitz@redhat.com>
Wed, 12 Jun 2019 15:10:46 +0000 (17:10 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:30 +0000 (12:31 +0200)
commit34778172f1eb75796c8af9fae8d88b889cff4fd2
tree28e37f265a7dc1bc35e7a74f5a86a43ab419b0b2
parentd38d7eb8a5e78ecc1906e763f59356a0b26a8b53
block: bdrv_cow_child() for bdrv_has_zero_init()

bdrv_has_zero_init() should use bdrv_cow_child() if it wants to check
whether the given BDS has a COW backing file.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block.c