[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 5/9] block/crypto: drop unallocated_blocks_are_zero
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v2 5/9] block/crypto: drop unallocated_blocks_are_zero |
Date: |
Thu, 7 May 2020 11:47:56 +0300 |
It's false by default, no needs to set it. We are going to drop this
variable at all, so drop it now here, it doesn't hurt.
Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
---
block/crypto.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/crypto.c b/block/crypto.c
index e02f343590..7685e61844 100644
--- a/block/crypto.c
+++ b/block/crypto.c
@@ -694,7 +694,6 @@ static int block_crypto_get_info_luks(BlockDriverState *bs,
return ret;
}
- bdi->unallocated_blocks_are_zero = false;
bdi->cluster_size = subbdi.cluster_size;
return 0;
--
2.21.0
- [PATCH v2 0/9] drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 1/9] qemu-img: convert: don't use unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 3/9] block/vdi: return ZERO block-status when appropriate, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 2/9] block: inline bdrv_unallocated_blocks_are_zero(), Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 7/9] block/file-posix: drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 5/9] block/crypto: drop unallocated_blocks_are_zero,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v2 4/9] block/vpc: return ZERO block-status when appropriate, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 6/9] block/iscsi: drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 8/9] block/vhdx: drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 9/9] block: drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/07
- [PATCH v2 10/9] qed: Simplify backing reads, Eric Blake, 2020/05/07
- Re: [PATCH v2 0/9] drop unallocated_blocks_are_zero, Vladimir Sementsov-Ogievskiy, 2020/05/19