qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/1] block: use 'unsigned' for in_flight field on driver stat


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 1/1] block: use 'unsigned' for in_flight field on driver state
Date: Thu, 2 Jun 2022 12:45:06 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

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 <den@openvz.org>
CC: John Snow <jsnow@redhat.com>
CC: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Hanna Reitz <hreitz@redhat.com>
CC: Eric Blake <eblake@redhat.com>
---
  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

[Prev in Thread] Current Thread [Next in Thread]