]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Replace bdrv_write() with bdrv_pwrite()
authorAlberto Garcia <berto@igalia.com>
Wed, 1 May 2019 18:13:55 +0000 (21:13 +0300)
committerKevin Wolf <kwolf@redhat.com>
Fri, 10 May 2019 14:45:40 +0000 (16:45 +0200)
commite3b4257d032dede8ffcfe868ffd74bb584842f62
tree978ce2d5cebf85adf8ed5722bf50e60eae5c688d
parent97ede57a2b810445ac0c7e8ad1d2af6cc13bc76e
qcow2: Replace bdrv_write() with bdrv_pwrite()

There's only one bdrv_write() call left in the qcow2 code, and it can
be trivially replaced with the byte-based bdrv_pwrite().

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-refcount.c