Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rbd: shift byte count as a 64-bit value
Otherwise, reads of more than 2GB fail. Until commit 7bbca9e, reads of 2^41 bytes succeeded at least theoretically. In fact, pdiscard ought to receive a 64-bit integer as the count for the same reason. Reported by Coverity. Fixes: 7bbca9e Cc: qemu-stable@nongnu.org Cc: kwolf@redhat.com Cc: eblake@redhat.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
- Loading branch information