]> git.proxmox.com Git - mirror_qemu.git/commit - block/mirror.c
block: change variable names in BlockDriverState
authorManos Pitsidianakis <el13635@mail.ntua.gr>
Fri, 9 Jun 2017 10:18:08 +0000 (13:18 +0300)
committerMax Reitz <mreitz@redhat.com>
Mon, 26 Jun 2017 12:54:46 +0000 (14:54 +0200)
commitf5a5ca796932d04cb2a1cb9382a55f72795b3e06
tree4a34a4deddf9ab05de27ea83df28bcc03498fdc4
parentc5f1ad429cdf26023cf331075a7d327708e3db6d
block: change variable names in BlockDriverState

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 <el13635@mail.ntua.gr>
Message-id: 20170609101808.13506-1-el13635@mail.ntua.gr
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
18 files changed:
block/blkdebug.c
block/blkreplay.c
block/block-backend.c
block/file-posix.c
block/io.c
block/iscsi.c
block/mirror.c
block/nbd-client.c
block/nbd-client.h
block/qcow2.c
block/qed.c
block/raw-format.c
block/rbd.c
block/sheepdog.c
include/block/block.h
include/block/block_int.h
include/sysemu/block-backend.h
qemu-io-cmds.c