diff options
author | Alberto Garcia <berto@igalia.com> | 2017-06-20 16:01:36 +0300 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2017-06-26 14:51:13 +0200 |
commit | 24990c5b959c3a24d76ccf96303c1f70556f1dd2 (patch) | |
tree | 70e5a8a385159b0e0c82967222c2b22a44ae22d7 /block/curl.c | |
parent | ee22a9d86921310672aa8775489217f3e2f5e1c6 (diff) |
qcow2: Use offset_into_cluster() and offset_to_l2_index()
We already have functions for doing these calculations, so let's use
them instead of doing everything by hand. This makes the code a bit
more readable.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/curl.c')
0 files changed, 0 insertions, 0 deletions