aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2013-03-06 11:52:48 +0100
committerKevin Wolf <kwolf@redhat.com>2013-03-22 17:51:31 +0100
commit787e4a8500020695eb391e2f1cc4767ee071d441 (patch)
tree1dec822d44c48a551095b3d9242281e9c38d92bb /block/qcow2.c
parent92b7a08d64e5e3129fa885f9d180e5bddcb76b42 (diff)
downloadqemu-787e4a8500020695eb391e2f1cc4767ee071d441.zip
qemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.gz
qemu-787e4a8500020695eb391e2f1cc4767ee071d441.tar.bz2
block: Add options QDict to bdrv_file_open() prototypes
The new parameter is unused yet. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r--block/qcow2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index 98bb7f3..8ea696a 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -1254,7 +1254,7 @@ static int qcow2_create2(const char *filename, int64_t total_size,
return ret;
}
- ret = bdrv_file_open(&bs, filename, BDRV_O_RDWR);
+ ret = bdrv_file_open(&bs, filename, NULL, BDRV_O_RDWR);
if (ret < 0) {
return ret;
}