diff options
| author | Vladimir Sementsov-Ogievskiy | 2020-05-28 11:44:01 +0200 |
|---|---|---|
| committer | Max Reitz | 2020-07-06 10:34:14 +0200 |
| commit | 32d293c8c668d4e0d19594d8af359627dd7260f9 (patch) | |
| tree | b4fbd378df974db6d0e7779a09d0eba65f4b5244 /include | |
| parent | block/crypto: drop unallocated_blocks_are_zero (diff) | |
| download | qemu-32d293c8c668d4e0d19594d8af359627dd7260f9.tar.gz qemu-32d293c8c668d4e0d19594d8af359627dd7260f9.tar.xz qemu-32d293c8c668d4e0d19594d8af359627dd7260f9.zip | |
block/iscsi: drop unallocated_blocks_are_zero
We set bdi->unallocated_blocks_are_zero = iscsilun->lbprz, but
iscsi_co_block_status doesn't return 0 in case of iscsilun->lbprz, it
returns ZERO when appropriate. So actually unallocated_blocks_are_zero
is useless (it doesn't affect the only user of the field:
bdrv_co_block_status()). Drop it now.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20200528094405.145708-7-vsementsov@virtuozzo.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
