[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] block: change variable names in BlockDriverS
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3] block: change variable names in BlockDriverState |
Date: |
Wed, 14 Jun 2017 19:01:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
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 <address@hidden>
> ---
> 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
signature.asc
Description: OpenPGP digital signature