Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vhdx: DIV_ROUND_UP() in vhdx_calc_bat_entries()
We have DIV_ROUND_UP(), so we can use it to produce more easily readable code. It may be slower than the bit shifting currently performed (because it actually performs a division), but since vhdx_calc_bat_entries() is never used in a hot path, this is completely fine. Signed-off-by: Max Reitz <[email protected]> Message-id: [email protected] Signed-off-by: Jeff Cody <[email protected]>
- Loading branch information