block: don't convert file size to sector size
authorHu Tao <hutao@cn.fujitsu.com>
Wed, 10 Sep 2014 09:05:46 +0000 (17:05 +0800)
committerKevin Wolf <kwolf@redhat.com>
Fri, 12 Sep 2014 13:43:06 +0000 (15:43 +0200)
commit180e95265e87edcb457a9f92f844e4b08bcc60a0
tree00b1a59d793d8fa425bcb09dccec2ffcaaba8b9a
parentc2eb918e3299f930fd0d0ae48d002cf2599de250
block: don't convert file size to sector size

and avoid converting it back later.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/gluster.c
block/qcow.c
block/qcow2.c
block/raw-posix.c
block/raw-win32.c