summaryrefslogtreecommitdiff
path: root/mkfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs/main.c')
-rw-r--r--mkfs/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mkfs/main.c b/mkfs/main.c
index e405e5a2..90fab59b 100644
--- a/mkfs/main.c
+++ b/mkfs/main.c
@@ -1668,7 +1668,8 @@ int main(int argc, char **argv)
goto error;
}
- min_dev_size = btrfs_min_dev_size(nodesize);
+ min_dev_size = btrfs_min_dev_size(nodesize, mixed, metadata_profile,
+ data_profile);
/* Check device/block_count after the nodesize is determined */
if (block_count && block_count < min_dev_size) {
error("size %llu is too small to make a usable filesystem",