qcow2: Fix DEBUG_* compilation
authorPhilipp Hahn <hahn@univention.de>
Thu, 4 Aug 2011 17:22:10 +0000 (19:22 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 23 Aug 2011 12:15:17 +0000 (14:15 +0200)
commit6cbc3031c8408e4cb3e55a01f25536e81d3ae90d
treeced7f6022bc4d1f3995c223d1389259e0c774db8
parent92196b2f5664d5defa778b1b24df56e2239b5e93
qcow2: Fix DEBUG_* compilation

By introducing BlockDriverState compiling qcow2 with DEBUG_ALLOC and DEBUG_EXT
defined got broken.
Define a BdrvCheckResult structure locally which is now needed as the second
argument.

Also fix qcow2_read_extensions() needing BDRVQcowState.

Signed-off-by: Philipp Hahn <hahn@univention.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-snapshot.c
block/qcow2.c