-
Eric Blake authored
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>Eric Blake authoredCommit 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>
Loading