From: Maurizio Lombardi Date: Mon, 21 Nov 2011 19:00:48 +0000 (+0100) Subject: mkfs.minix: The s_blocksize field of the MinixV3 superblock must be X-Git-Tag: v2.21-rc1~157^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a54d258f8cbb0c8b5de10231bc2f7ec8804940e3;p=thirdparty%2Futil-linux.git 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! --- 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;