Vladimir Sementsov-Ogievskiy d93e572688 block/io: bdrv_pdiscard: support int64_t bytes parameter
This fixes at least one overflow in qcow2_process_discards, which
passes 64bit region length to bdrv_pdiscard where bytes (or sectors in
the past) parameter is int since its introduction in 0b919fae.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2019-06-04 16:55:58 +02:00
..
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00
2019-06-04 15:22:22 +02:00