Fam Zheng f0e9736012 mirror: Use DIV_ROUND_UP
Although bdrv_getlength() was just called above this, and checked for
error, it is better to just use the value we already get, and use
DIV_ROUND_UP.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-04-28 17:36:30 +02:00
..
2014-04-11 13:59:49 +02:00
2014-02-21 21:02:24 +01:00
2014-03-25 14:09:50 +01:00
2014-02-25 10:50:11 +00:00
2014-04-28 17:36:30 +02:00
2014-02-17 11:57:23 -05:00
2014-04-01 15:22:35 +02:00
2014-03-25 14:09:50 +01:00
2014-02-17 11:57:23 -05:00
2014-03-25 14:09:50 +01:00
2014-03-25 14:09:50 +01:00
2014-04-01 13:59:47 +02:00
2014-04-22 12:00:20 +02:00