On 5/19/22 17:48, Alberto Faria wrote:
For consistency with other I/O functions, and in preparation to
implement them using generated_co_wrapper.

Callers were updated using this Coccinelle script:

     @@ expression child, offset, buf, bytes; @@
     - bdrv_pread(child, offset, buf, bytes)
     + bdrv_pread(child, offset, buf, bytes, 0)

     @@ expression child, offset, buf, bytes; @@
     - bdrv_pwrite(child, offset, buf, bytes)
     + bdrv_pwrite(child, offset, buf, bytes, 0)

     @@ expression child, offset, buf, bytes; @@
     - bdrv_pwrite_sync(child, offset, buf, bytes)
     + bdrv_pwrite_sync(child, offset, buf, bytes, 0)

Resulting overly-long lines were then fixed by hand.

Signed-off-by: Alberto Faria<afa...@redhat.com>
Reviewed-by: Paolo Bonzini<pbonz...@redhat.com>

Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru>

--
Best regards,
Vladimir

Reply via email to