qcow2: use start_of_cluster() and offset_into_cluster() everywhere
commitac95acdb8e0876fa489bd31a48e8ecd6ef901d67
authorHu Tao <hutao@cn.fujitsu.com>
Thu, 5 Dec 2013 06:32:34 +0000 (5 14:32 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Fri, 6 Dec 2013 15:53:50 +0000 (6 16:53 +0100)
tree171e10ba16ec167cbb80fd3cb2750e3b857712af
parent405889820bcd5c2abf4eb70598e96f525f862c0f
qcow2: use start_of_cluster() and offset_into_cluster() everywhere

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-cluster.c
block/qcow2-refcount.c