block: Rename blk_write_zeroes()
commitd004bd52aacbe9bf43c38fa6cb20a6f241ac64be
authorEric Blake <eblake@redhat.com>
Tue, 24 May 2016 22:25:20 +0000 (24 16:25 -0600)
committerKevin Wolf <kwolf@redhat.com>
Wed, 25 May 2016 17:04:21 +0000 (25 19:04 +0200)
treedd359afb28dc576963274e96304aa5228ec88a8e
parent8a8e63ebdd5a6605af6a9df07c62b2214e1a650c
block: Rename blk_write_zeroes()

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 <kwolf@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
block/block-backend.c
block/parallels.c
hw/scsi/scsi-disk.c
include/sysemu/block-backend.h
qemu-img.c
qemu-io-cmds.c