On 30/5/22 12:39, Denis V. Lunev wrote:
This patch makes in_flight field 'unsigned' for BDRVNBDState and
MirrorBlockJob. This matches the definition of this field on BDS
and is generically correct - we should never get negative value here.

Signed-off-by: Denis V. Lunev <[email protected]>
CC: John Snow <[email protected]>
CC: Vladimir Sementsov-Ogievskiy <[email protected]>
CC: Kevin Wolf <[email protected]>
CC: Hanna Reitz <[email protected]>
CC: Eric Blake <[email protected]>
---
  block/mirror.c | 2 +-
  block/nbd.c    | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

FWIW there is another occurrence in qemu-img.c.

Reply via email to