block: Avoid unchecked casts for AIOCBs
commitb666d239509a0855740444c254a65cbf567bfb90
authorKevin Wolf <kwolf@redhat.com>
Wed, 5 May 2010 09:44:39 +0000 (5 11:44 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 17 May 2010 08:20:05 +0000 (17 10:20 +0200)
treee8d2539f1ad8d0c9578974bfe74fb5ad3b5008e4
parent7a6f391376c61af1dce2d624a4fcff8eec4fa097
block: Avoid unchecked casts for AIOCBs

Use container_of for one direction and &acb->common for the other one.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block.c
block/blkdebug.c
block/qcow.c
block/qcow2.c
block/vdi.c