summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-02 02:06:25 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-02 02:06:25 +0000
commit98f46c21011e38e3391592f219b955bc4526180d (patch)
tree30c9345a6f8343b157b1e52429d4c8f7565c37c3 /perl-install/diskdrake
parent9720840dad48e3fff2ea3e87f0444533c59721ab (diff)
downloaddrakx-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')
-rw-r--r--perl-install/diskdrake/interactive.pm3
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;