]> xenbits.xensource.com Git - people/pauldu/qemu.git/commit
qcow2: Add errp to preallocate_co()
authorKevin Wolf <kwolf@redhat.com>
Mon, 15 Apr 2019 14:56:07 +0000 (16:56 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 30 Apr 2019 13:29:00 +0000 (15:29 +0200)
commit360bd07471dfd1830246e8403ffdc9ba9d82f9d4
tree6c2f7bc1811979d6b0554ee298d2a35b945b36b3
parentf29fbf7c6b1c9a84f6931c1c222716fbe073e6e4
qcow2: Add errp to preallocate_co()

We'll add a bdrv_co_truncate() call in the next patch which can return
an Error that we don't want to discard. So add an errp parameter to
preallocate_co().

Cc: qemu-stable@nongnu.org
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
block/qcow2.c