ref: de16b0f8bcb8b9c49811e1dcab476e0271e6cc39
parent: b0ddedb220094550e28184c1473db69d38421430
author: Max Maisel <max.maisel@posteo.de>
date: Thu Mar 1 12:18:15 EST 2018
ext4-mkfs: Use correct partition size
--- a/src/ext4_mkfs.c
+++ b/src/ext4_mkfs.c
@@ -709,7 +709,7 @@
bd->fs = fs;
if (info->len == 0)
- info->len = bd->bdif->ph_bcnt * bd->bdif->ph_bsize;
+ info->len = bd->part_size;
if (info->block_size == 0)
info->block_size = 4096; /*Set block size to default value*/