From 9ed27110c23e2d73957e116929470829088bcb9c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 23 Aug 2005 17:27:20 +0000 Subject: auto allocate on the current LV first (only partially fix bug #16175 since it will also auto allocate on other drives) --- perl-install/diskdrake/interactive.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake/interactive.pm') 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 ($@) { -- cgit v1.2.1