summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-23 17:27:20 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-23 17:27:20 +0000
commit9ed27110c23e2d73957e116929470829088bcb9c (patch)
tree4c84c87d6e3894c2636751e3fbbbf18271445708 /perl-install/diskdrake
parentbd046906c20f915982e46b06f0c5d4f2901cf538 (diff)
downloaddrakx-9ed27110c23e2d73957e116929470829088bcb9c.tar
drakx-9ed27110c23e2d73957e116929470829088bcb9c.tar.gz
drakx-9ed27110c23e2d73957e116929470829088bcb9c.tar.bz2
drakx-9ed27110c23e2d73957e116929470829088bcb9c.tar.xz
drakx-9ed27110c23e2d73957e116929470829088bcb9c.zip
auto allocate on the current LV first (only partially fix bug #16175 since it will also auto allocate on other drives)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index b65e05597..aeccf5e01 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -339,7 +339,7 @@ sub Auto_allocate {
my $suggestions = partitions_suggestions($in) or return;
my %all_hds_ = %$all_hds;
- $all_hds_{hds} = [ sort { $a == $hd ? -1 : 1 } @{$all_hds->{hds}} ];
+ $all_hds_{hds} = [ sort { $a == $hd ? -1 : 1 } fs::get::hds($all_hds) ];
eval { fsedit::auto_allocate(\%all_hds_, $suggestions) };
if ($@) {