Blame SOURCES/removed-logical-space-check-from-table-line.patch

6f09de
From 8fb4ef85097e7b46cb3604612a49e480efd4465a Mon Sep 17 00:00:00 2001
6f09de
From: Andrew Walsh <awalsh@redhat.com>
6f09de
Date: Wed, 24 Aug 2022 12:00:12 -0400
6f09de
Subject: [PATCH] Removed logical space check from table line.
6f09de
6f09de
Until the LVM tooling can be updated to use accurate sizes, this check
6f09de
can't be implemented.
6f09de
6f09de
Signed-off-by: Andrew Walsh <awalsh@redhat.com>
6f09de
---
6f09de
 vdo/vdo-component.c | 7 -------
6f09de
 1 file changed, 7 deletions(-)
6f09de
6f09de
diff --git a/vdo/vdo-component.c b/vdo/vdo-component.c
6f09de
index ac1ac1f7..50ba438b 100644
6f09de
--- a/vdo/vdo-component.c
6f09de
+++ b/vdo/vdo-component.c
6f09de
@@ -303,13 +303,6 @@ int vdo_validate_config(const struct vdo_config *config,
6f09de
 		if (result != UDS_SUCCESS) {
6f09de
 			return result;
6f09de
 		}
6f09de
-
6f09de
-		if (logical_block_count != config->logical_blocks) {
6f09de
-			uds_log_error("A logical size of %llu blocks was specified, but that differs from the %llu blocks configured in the vdo super block",
6f09de
-			      (unsigned long long) logical_block_count,
6f09de
-			      (unsigned long long) config->logical_blocks);
6f09de
-			return VDO_PARAMETER_MISMATCH;
6f09de
-		}
6f09de
 	}
6f09de
 
6f09de
 	result = ASSERT(config->logical_blocks <= MAXIMUM_VDO_LOGICAL_BLOCKS,
6f09de
-- 
6f09de
2.37.1
6f09de