diff options
| author | Alberto Garcia | 2019-05-14 15:57:35 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2019-05-20 17:08:56 +0200 |
| commit | 41ae31e3d7696ec639b8fd6c162846244eeaa511 (patch) | |
| tree | b944c904d605789c320aff6f9aea39c3e48b6593 /include/exec | |
| parent | qcow2: Define and use QCOW2_COMPRESSED_SECTOR_SIZE (diff) | |
| download | qemu-41ae31e3d7696ec639b8fd6c162846244eeaa511.tar.gz qemu-41ae31e3d7696ec639b8fd6c162846244eeaa511.tar.xz qemu-41ae31e3d7696ec639b8fd6c162846244eeaa511.zip | |
block: Use BDRV_REQUEST_MAX_BYTES instead of BDRV_REQUEST_MAX_SECTORS
There are a few places in which we turn a number of bytes into sectors
in order to compare the result against BDRV_REQUEST_MAX_SECTORS
instead of using BDRV_REQUEST_MAX_BYTES directly.
Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
