diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 02:06:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-08-02 02:06:25 +0000 |
commit | 98f46c21011e38e3391592f219b955bc4526180d (patch) | |
tree | 30c9345a6f8343b157b1e52429d4c8f7565c37c3 /perl-install/diskdrake/interactive.pm | |
parent | 9720840dad48e3fff2ea3e87f0444533c59721ab (diff) | |
download | drakx-98f46c21011e38e3391592f219b955bc4526180d.tar drakx-98f46c21011e38e3391592f219b955bc4526180d.tar.gz drakx-98f46c21011e38e3391592f219b955bc4526180d.tar.bz2 drakx-98f46c21011e38e3391592f219b955bc4526180d.tar.xz drakx-98f46c21011e38e3391592f219b955bc4526180d.zip |
don't call will_tell_kernel() when we have lvm (anthill #994)
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 7d0068d29..def668bb7 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -729,11 +729,10 @@ sub Resize { my $adjust = sub { my ($write_partitions) = @_; - partition_table::will_tell_kernel($hd, resize => $part); - if (isLVM($hd)) { lvm::lv_resize($part, $oldsize); } else { + partition_table::will_tell_kernel($hd, resize => $part); partition_table::adjust_local_extended($hd, $part); partition_table::adjust_main_extended($hd); write_partitions($in, $hd) or return if $write_partitions && %nice_resize; |