« Previous | Next » 

Revision e96126ff

IDe96126ffa53d36ec75a1ee900a6b7e7c82d9bb9c

Added by Kevin Wolf about 10 years ago

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 <>
Reviewed-by: Laszlo Ersek <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences