qcow2: Round QCowL2Meta.offset down to cluster boundary
authorKevin Wolf <kwolf@redhat.com>
Fri, 7 Dec 2012 17:08:42 +0000 (18:08 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 13 Dec 2012 14:37:59 +0000 (15:37 +0100)
commit1d3afd649bc77aa14bc2741e2da6475822d41c5f
tree48d6c4f5fb3371a92b9e9c824e133cd121fa808f
parenta7f3d65b65b8c86a5ff0c0abcfefb45e2ec6fe4c
qcow2: Round QCowL2Meta.offset down to cluster boundary

The offset within the cluster is already present as n_start and this is
what the code uses. QCowL2Meta.offset is only needed at a cluster
granularity.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2.h