]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Use offset_into_cluster()
authorAlberto Garcia <berto@igalia.com>
Thu, 12 Dec 2019 10:01:21 +0000 (12:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 18 Dec 2019 10:21:16 +0000 (11:21 +0100)
commit74e60fb56af3ea7ad94c2db7f38a9e226dc4faae
tree6b46feffdb5a596c5ef8cf7627c4a2bff85da168
parent4688c4e32ec76004676470f11734478799673d6d
qcow2: Use offset_into_cluster()

There's a couple of places left in the qcow2 code that still do the
calculation manually, so let's replace them.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c