]> Git Repo - qemu.git/commit - block/qcow2.c
qcow2: Fix data file error condition in qcow2_co_create()
authorKevin Wolf <[email protected]>
Wed, 13 Mar 2019 14:22:38 +0000 (15:22 +0100)
committerKevin Wolf <[email protected]>
Tue, 19 Mar 2019 14:49:29 +0000 (15:49 +0100)
commita0cf83639c7adbdee08a5bac840c5aada019b8f3
tree321ea75b3cfdd92902b97d08813bb170752190c2
parent5e771752a1ffba3a99d7d75b6d492b4a86b59e1b
qcow2: Fix data file error condition in qcow2_co_create()

We were trying to check whether bdrv_open_blockdev_ref() returned
success, but accidentally checked the wrong variable. Spotted by
Coverity (CID 1399703).

Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
block/qcow2.c
This page took 0.024033 seconds and 4 git commands to generate.