qed: Convert to bdrv_co_pwrite_zeroes()
authorEric Blake <eblake@redhat.com>
Wed, 1 Jun 2016 21:10:09 +0000 (15:10 -0600)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Jun 2016 08:21:08 +0000 (10:21 +0200)
commit49a2e48348b7b0fda04e9d767a537e6c5d230bdd
treed0eaed0d8f5258567a7583a9cb56e1370c2065b9
parente88a36ebad257fbbdd3ea534624d14938c2c441b
qed: Convert to bdrv_co_pwrite_zeroes()

Another step on our continuing quest to switch to byte-based
interfaces.

Kill an abuse of the comma operator while at it (fortunately,
the semantics were still right).  Also, the test for requests
not aligned to clusters should be applied always, not just
when a backing file is present.

Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qed.c