backup: Switch backup_do_cow() to byte-based
commit03f5d60bbf264ea68e50db2a7b2383a8da5122d2
authorEric Blake <eblake@redhat.com>
Fri, 7 Jul 2017 12:44:55 +0000 (7 07:44 -0500)
committerKevin Wolf <kwolf@redhat.com>
Mon, 10 Jul 2017 11:18:06 +0000 (10 13:18 +0200)
treea1fbbdaaf27b6f2c91b5062a414415ef4cbe4a9c
parentf6ac207893a661a6c32819c43a2ab2789b40d12f
backup: Switch backup_do_cow() 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/backup.c