summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-19 15:01:55 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-19 15:01:55 +0000
commit0991c940925490069ea3feb2ae4f7d977ab6de84 (patch)
tree821d943a04fab6434c643365b566439afa2ab572 /perl-install/diskdrake
parent11b0e9fe0e06fc002cbb4df903dba1541fb88019 (diff)
downloaddrakx-0991c940925490069ea3feb2ae4f7d977ab6de84.tar
drakx-0991c940925490069ea3feb2ae4f7d977ab6de84.tar.gz
drakx-0991c940925490069ea3feb2ae4f7d977ab6de84.tar.bz2
drakx-0991c940925490069ea3feb2ae4f7d977ab6de84.tar.xz
drakx-0991c940925490069ea3feb2ae4f7d977ab6de84.zip
rename function (to avoid conflicting name in next commit)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 2de3bd2e5..b4c01c3f7 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -698,7 +698,7 @@ sub Mount_point_raw_hd {
sub Resize {
my ($in, $hd, $part) = @_;
my (%nice_resize);
- my ($min, $max) = (min_partition_size($hd), max_partition_size($hd, $part));
+ my ($min, $max) = (min_partition_size($hd), max_partition_resize($hd, $part));
if (maybeFormatted($part)) {
# here we may have a non-formatted or a formatted partition
@@ -1326,7 +1326,7 @@ sub format_raw_hd_info {
#- logical partition.
sub min_partition_size { $_[0]->cylinder_size + 2*$_[0]{geom}{sectors} }
-sub max_partition_size {
+sub max_partition_resize {
my ($hd, $part) = @_;
if (isLVM($hd)) {
$part->{size} + fs::get::vg_free_space($hd);