Home
last modified time | relevance | path

Searched hist:e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/
H A Dblock.cdiff e96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c Sat Feb 08 03:42:18 CST 2014 Kevin Wolf <kwolf@redhat.com> 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>