diff options
author | Denis V. Lunev | 2017-07-10 17:05:59 +0200 |
---|---|---|
committer | Stefan Hajnoczi | 2017-07-17 16:58:37 +0200 |
commit | 593ed6f0a3c827a13a274e47f6fa980344234f9c (patch) | |
tree | c16f05e567f6082b397760852882975fa6458327 /replication.c | |
parent | util/aio-win32: Only select on what we are actually waiting for (diff) | |
download | qemu-593ed6f0a3c827a13a274e47f6fa980344234f9c.tar.gz qemu-593ed6f0a3c827a13a274e47f6fa980344234f9c.tar.xz qemu-593ed6f0a3c827a13a274e47f6fa980344234f9c.zip |
block: fix shadowed variable in bdrv_co_pdiscard
We've had a shadowed 'ret' variable, which risks returning the wrong
value, introduced in commit b9c64947.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20170710150559.30163-1-den@openvz.org
CC: Stefan Hajnoczi <stefanha@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'replication.c')
0 files changed, 0 insertions, 0 deletions