diff options
| author | Kevin Wolf | 2014-02-08 10:42:18 +0100 |
|---|---|---|
| committer | Kevin Wolf | 2014-02-09 09:12:39 +0100 |
| commit | e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c (patch) | |
| tree | 44807d0bad265d3af06262d2f68fd27cd0a2382e /scripts/checkpatch.pl | |
| parent | blkdebug: Don't leak bs->file on failure (diff) | |
| download | qemu-e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c.tar.gz qemu-e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c.tar.xz qemu-e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c.zip | |
block: Fix 32 bit truncation in mark_request_serialising()
On 32 bit hosts, size_t is too small for align as the bitmask
~(align - 1) will zero out the higher 32 bits of the offset.
While at it, change the local overlap_bytes variable to unsigned to
match the field in BdrvTrackedRequest.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
