]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Remove BDS parameter from qcow2_cache_get_table_idx()
authorAlberto Garcia <berto@igalia.com>
Mon, 5 Feb 2018 14:33:04 +0000 (16:33 +0200)
committerMax Reitz <mreitz@redhat.com>
Tue, 13 Feb 2018 15:59:58 +0000 (16:59 +0100)
commitb3b8b6d9c4c7885e39bebe02abf60855c233dc5c
tree16fe04aaaeb8c01b7b86aa4bc1347b23bb558ea7
parent9869b27bb5c1c08f175804d287efc7b3c6a94e33
qcow2: Remove BDS parameter from qcow2_cache_get_table_idx()

This function was only using the BlockDriverState parameter to get the
cache table size (since it was equal to the cluster size). This is no
longer necessary so this parameter can be removed.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: da3575d47c9a181a2cfd4715e53dd84a2c651017.1517840876.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-cache.c