mirror: Switch mirror_do_zero_or_discard() to byte-based
commite6f2419389a841260e0323ae72751ab489ec6dcc
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 12:44:47 +0000 (7 07:44 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (10 13:18 +0200)
tree5578a1849013aeafdabdd38506737040328871a8
parentb436982f04fb33bb29fcdea190bd1fdc97dc65ef
mirror: Switch mirror_do_zero_or_discard() to byte-based

We are gradually converting to byte-based interfaces, as they are
easier to reason about than sector-based.  Convert another internal
function (no semantic change).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/mirror.c