diff options
author | Eric Blake <eblake@redhat.com> | 2016-05-24 16:25:20 -0600 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-05-25 19:04:21 +0200 |
commit | d004bd52aacbe9bf43c38fa6cb20a6f241ac64be (patch) | |
tree | dd359afb28dc576963274e96304aa5228ec88a8e /blockjob.c | |
parent | 8a8e63ebdd5a6605af6a9df07c62b2214e1a650c (diff) |
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>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions