vhdx: Switch to byte-based calls
commit3a7404b31e96156ea35be6fec938e162517e28d9
authorEric Blake <eblake@redhat.com>
Thu, 28 Jun 2018 20:15:24 +0000 (28 15:15 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 29 Jun 2018 12:20:56 +0000 (29 14:20 +0200)
tree61ace4302ab09d1f81007f610c24cbdf6c6c4774
parent04a11d87d1dfdc5f8081398694db8849d010c12d
vhdx: Switch to byte-based calls

We are gradually moving away from sector-based interfaces, towards
byte-based.  Make the change for the last few sector-based calls
into the block layer from the vhdx driver.

Ideally, the vhdx driver should switch to doing everything
byte-based, but that's a more invasive change that requires a
bit more auditing.

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