On 2017-06-09 12:18, Manos Pitsidianakis wrote:
> Change the 'int count' parameter in *pwrite_zeros, *pdiscard related
> functions (and some others) to 'int bytes', as they both refer to bytes.
> This helps with code legibility.
> 
> Signed-off-by: Manos Pitsidianakis <el13...@mail.ntua.gr>
> ---
>  block/blkdebug.c               | 36 +++++++++++++++----------------
>  block/blkreplay.c              |  8 +++----
>  block/block-backend.c          | 22 +++++++++----------
>  block/file-posix.c             | 34 +++++++++++++++---------------
>  block/io.c                     | 48 
> +++++++++++++++++++++---------------------
>  block/iscsi.c                  | 20 +++++++++---------
>  block/mirror.c                 |  8 +++----
>  block/nbd-client.c             |  8 +++----
>  block/nbd-client.h             |  4 ++--
>  block/qcow2.c                  | 28 ++++++++++++------------
>  block/qed.c                    |  8 +++----
>  block/raw-format.c             |  8 +++----
>  block/rbd.c                    |  4 ++--
>  block/sheepdog.c               |  6 +++---
>  include/block/block.h          |  8 +++----
>  include/block/block_int.h      |  6 +++---
>  include/sysemu/block-backend.h | 20 +++++++++---------
>  qemu-io-cmds.c                 | 46 ++++++++++++++++++++--------------------
>  18 files changed, 161 insertions(+), 161 deletions(-)

Thank you, I've applied the patch to my block branch:

https://github.com/XanClic/qemu/commits/block

Max

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to