From 9cfeca6f50544e5cf5dc33f4f3bddc981171ca28 Mon Sep 17 00:00:00 2001 From: Dinar Valeev Date: Tue, 21 May 2013 14:22:54 +0200 Subject: [PATCH] Increase MAX_BLOCK_SIZE to 4096 We need to increase MAX_BLOCK_SIZE to 4096 to be able to work with 4k aligned disks. Signed-off-by: Dinar Valeev Signed-off-by: Tony Breeds --- second/partition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/second/partition.c b/second/partition.c index 64b4725..d805ad0 100644 --- a/second/partition.c +++ b/second/partition.c @@ -63,7 +63,7 @@ static const char *valid_mac_partition_types[] = { #endif -#define MAX_BLOCK_SIZE 2048 +#define MAX_BLOCK_SIZE 4096 static unsigned char block_buffer[MAX_BLOCK_SIZE]; static void -- 2.39.2