OSDN Git Service

block/vdi: Use {DIV_,}ROUND_UP
authorMax Reitz <mreitz@redhat.com>
Tue, 21 Oct 2014 08:51:25 +0000 (10:51 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 23 Oct 2014 13:34:01 +0000 (15:34 +0200)
commite9082e47364ac63922ea967aa5d82dbc8ac39960
treea1272b60c525eb2c51d188cb3dc70385be092f3a
parent8113fb529282897892f8010ed679565b0f1488d9
block/vdi: Use {DIV_,}ROUND_UP

There are macros for these operations, so make use of them.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vdi.c