OSDN Git Service

qcow2: Work with bytes in qcow2_get_cluster_offset()
authorKevin Wolf <kwolf@redhat.com>
Tue, 31 May 2016 14:41:09 +0000 (16:41 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 16 Jun 2016 13:19:55 +0000 (15:19 +0200)
commitb2f65d6b02b7df0a780a974a97f26fbf0e464964
treeaac43223d810118774980028c5daf0b942eb522e
parenta66370b08d53837eb233cad090b3c2638084cc44
qcow2: Work with bytes in qcow2_get_cluster_offset()

This patch changes the units that qcow2_get_cluster_offset() uses
internally, without touching the interface just yet. This will be done
in another patch.

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