summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-09-15 11:28:16 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-09-15 11:28:16 +0000
commitf3875c5b905530055338f524016888aedf5ea239 (patch)
treef35c2936a8200d70c8729710a5be9906da99fdb8 /perl-install
parent180936086dc4f60831e5c32a1a72ddce0608bf0c (diff)
downloaddrakx-backup-do-not-use-f3875c5b905530055338f524016888aedf5ea239.tar
drakx-backup-do-not-use-f3875c5b905530055338f524016888aedf5ea239.tar.gz
drakx-backup-do-not-use-f3875c5b905530055338f524016888aedf5ea239.tar.bz2
drakx-backup-do-not-use-f3875c5b905530055338f524016888aedf5ea239.tar.xz
drakx-backup-do-not-use-f3875c5b905530055338f524016888aedf5ea239.zip
fix growing ext2/ext3 partitions
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/interactive.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 3cf8d1f14..af9109b9e 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -664,7 +664,6 @@ sub Resize {
log::l("dumpe2fs $nice_resize{ext2} gives: Block_count=$block_count, Free_blocks=$free_block, Block_size=$block_size");
if ($block_count && $free_block && $block_size) {
$min = max($min, ($block_count - $free_block) * ($block_size / 512));
- $max = min($max, $block_count * ($block_size / 512));
$nice_resize{ext2} = $dev;
}
} elsif (isThisFs('ntfs', $part)) {