qemu-e2k/block
Paolo Bonzini ad54ae80c7 block: bdrv_aio_* do not return NULL
Initially done with the following semantic patch:

@ rule1 @
expression E;
statement S;
@@
  E =
(
   bdrv_aio_readv
|  bdrv_aio_writev
|  bdrv_aio_flush
|  bdrv_aio_discard
|  bdrv_aio_ioctl
)
     (...);
(
- if (E == NULL) { ... }
|
- if (E)
    { <... S ...> }
)

which however missed the occurrence in block/blkverify.c
(as it should have done), and left behind some unused
variables.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-12-15 12:40:07 +01:00
..
blkdebug.c block: drop redundant bdrv_flush implementation 2011-10-21 17:34:13 +02:00
blkverify.c block: bdrv_aio_* do not return NULL 2011-12-15 12:40:07 +01:00
bochs.c block: take lock around bdrv_read implementations 2011-10-21 17:34:14 +02:00
cloop.c block/cloop: Use g_free instead of free 2011-11-04 14:24:12 +01:00
cow.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2011-12-05 09:39:25 -06:00
curl.c block/curl: Don't finish AIOCBs too early 2011-09-21 15:16:04 +02:00
dmg.c block: take lock around bdrv_read implementations 2011-10-21 17:34:14 +02:00
iscsi.c iSCSI block driver 2011-10-28 19:25:48 +02:00
nbd.c fix typo: delete redundant semicolon 2011-12-06 09:56:41 +00:00
parallels.c block: take lock around bdrv_read implementations 2011-10-21 17:34:14 +02:00
qcow2-cache.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qcow2-cluster.c qcow2: avoid reentrant bdrv_read() in copy_sectors() 2011-12-05 14:49:47 +01:00
qcow2-refcount.c qcow2: Fix order of refcount updates in qcow2_snapshot_goto 2011-12-05 14:51:36 +01:00
qcow2-snapshot.c qcow2: Fix error path in qcow2_snapshot_load_tmp 2011-12-05 14:51:36 +01:00
qcow2.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2011-12-05 09:39:25 -06:00
qcow2.h qcow2: implement bdrv_invalidate_cache (v2) 2011-11-21 14:58:48 -06:00
qcow.c block: convert qcow2, qcow2, and vmdk to .bdrv_co_is_allocated() 2011-12-05 14:51:37 +01:00
qed-check.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-cluster.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-gencb.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-l2-cache.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
qed-table.c block: bdrv_aio_* do not return NULL 2011-12-15 12:40:07 +01:00
qed.c block: bdrv_aio_* do not return NULL 2011-12-15 12:40:07 +01:00
qed.h qed: add migration blocker (v2) 2011-11-21 14:58:48 -06:00
raw-posix-aio.h Remove aio_ctx from paio_* interface 2009-10-30 08:39:34 -05:00
raw-posix.c fix spelling in block sub directory 2011-12-02 10:50:57 +00:00
raw-win32.c block: Rename bdrv_co_flush to bdrv_co_flush_to_disk 2011-11-11 14:02:59 +01:00
raw.c block: Rename bdrv_co_flush to bdrv_co_flush_to_disk 2011-11-11 14:02:59 +01:00
rbd.c block: Rename bdrv_co_flush to bdrv_co_flush_to_disk 2011-11-11 14:02:59 +01:00
sheepdog.c block: Add coroutine_fn marker to coroutine functions 2011-12-05 14:51:35 +01:00
vdi.c block: bdrv_aio_* do not return NULL 2011-12-15 12:40:07 +01:00
vmdk.c block: convert qcow2, qcow2, and vmdk to .bdrv_co_is_allocated() 2011-12-05 14:51:37 +01:00
vpc.c vpc: Add missing error handling in alloc_block 2011-11-23 17:04:06 +01:00
vvfat.c vvfat: convert to .bdrv_co_is_allocated() 2011-12-05 14:51:37 +01:00