qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v3 05/10] block/crypto: drop unallocated_blocks_are_zero


From: Vladimir Sementsov-Ogievskiy
Subject: [PATCH v3 05/10] block/crypto: drop unallocated_blocks_are_zero
Date: Thu, 28 May 2020 12:44:00 +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 <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
---
 block/crypto.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/crypto.c b/block/crypto.c
index b216e12c31..6d930e2d54 100644
--- a/block/crypto.c
+++ b/block/crypto.c
@@ -710,7 +710,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.18.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]