Re: [Qemu-devel] [PATCH v3 01/15] block: Rename blk_write_zeroes()

2016-05-25 Thread Max Reitz
On 25.05.2016 14:29, Kevin Wolf wrote: > From: Eric Blake > > 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

[Qemu-devel] [PATCH v3 01/15] block: Rename blk_write_zeroes()

2016-05-25 Thread Kevin Wolf
From: Eric Blake 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