diff --git a/mkfs/f2fs_format.c b/mkfs/f2fs_format.c index 558de90..b71b329 100644 --- a/mkfs/f2fs_format.c +++ b/mkfs/f2fs_format.c @@ -725,7 +725,7 @@ static int f2fs_write_check_point_pack(void) if (f2fs_get_usable_segments(sb) <= get_cp(overprov_segment_count)) { MSG(0, "\tError: Not enough segments to create F2FS Volume\n"); - goto free_nat_bits; + goto free_cp_payload; } MSG(0, "Info: Overprovision ratio = %.3lf%%\n", c.overprovision); MSG(0, "Info: Overprovision segments = %u (GC reserved = %u)\n",