On 25.05.2016 14:29, Kevin Wolf wrote:
> From: Eric Blake <ebl...@redhat.com>
> 
> Commit 983a1600 changed the semantics of blk_write_zeroes() to
> be byte-based rather than sector-based, but did not change the
> name, which is an open invitation for other code to misuse the
> function.  Renaming to pwrite_zeroes() makes it more in line
> with other byte-based interfaces, and will help make it easier
> to track which remaining write_zeroes interfaces still need
> conversion.
> 
> Reported-by: Kevin Wolf <kw...@redhat.com>
> Signed-off-by: Eric Blake <ebl...@redhat.com>
> Signed-off-by: Kevin Wolf <kw...@redhat.com>
> ---
>  block/block-backend.c          | 14 +++++++-------
>  block/parallels.c              |  4 ++--
>  hw/scsi/scsi-disk.c            |  2 +-
>  include/sysemu/block-backend.h | 14 +++++++-------
>  qemu-img.c                     |  4 ++--
>  qemu-io-cmds.c                 | 22 +++++++++++-----------
>  6 files changed, 30 insertions(+), 30 deletions(-)

Reviewed-by: Max Reitz <mre...@redhat.com>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to