From a54d258f8cbb0c8b5de10231bc2f7ec8804940e3 Mon Sep 17 00:00:00 2001 From: Maurizio Lombardi Date: Mon, 21 Nov 2011 20:00:48 +0100 Subject: [PATCH] mkfs.minix: The s_blocksize field of the MinixV3 superblock must be initialized with a valid block size, not the total number of blocks of the device! --- disk-utils/mkfs.minix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk-utils/mkfs.minix.c b/disk-utils/mkfs.minix.c index 502c420697..5817837ce9 100644 --- a/disk-utils/mkfs.minix.c +++ b/disk-utils/mkfs.minix.c @@ -490,7 +490,7 @@ static void setup_tables(void) { if (fs_version == 3) { Super3.s_log_zone_size = 0; - Super3.s_blocksize = BLOCKS; + Super3.s_blocksize = MINIX_BLOCK_SIZE; } else { Super.s_log_zone_size = 0; -- 2.47.3