vmdk: Drop vmdk_co_flush()
commitfb787f02a6dc1c6b459316376ccfe186ee85a2dc
authorMax Reitz <mreitz@redhat.com>
Wed, 13 Nov 2019 14:53:42 +0000 (13 15:53 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 7 Sep 2020 10:31:31 +0000 (7 12:31 +0200)
tree1ebc61934d86cd67ff5465a6979669956f2e1597
parent883833e29cb800b4d92b5d4736252f4004885191
vmdk: Drop vmdk_co_flush()

Before HEAD^, we needed this because bdrv_co_flush() by itself would
only flush bs->file.  With HEAD^, bdrv_co_flush() will flush all
children on which a WRITE or WRITE_UNCHANGED permission has been taken.
Thus, vmdk no longer needs to do it itself.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c