qcow/qcow2: Allocate QCowAIOCB structure using stack
commitf5cd8173e77c334c278b4684e3806ad01bba1047
authorFrediano Ziglio <freddy77@gmail.com>
Tue, 23 Aug 2011 13:21:08 +0000 (23 15:21 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 23 Aug 2011 15:41:14 +0000 (23 17:41 +0200)
tree28d4dcf0ca28d0faa7db0442fbb6da09a335c061
parente4ea78ee76ab3d725dc63bc7025568e8ddbd7dbf
qcow/qcow2: Allocate QCowAIOCB structure using stack

instead of calling qemi_aio_get use stack

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow.c
block/qcow2.c