summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/diskdrake/interactive.pm10
-rw-r--r--perl-install/install/NEWS1
2 files changed, 6 insertions, 5 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index 1131ba95f..6dfea217b 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -926,11 +926,11 @@ filesystem checks will be run on your next boot into Microsoft Windows®"));
}
if (!run_program::run(@cmd)) {
$nice_resize{$part->{fs_type}} = undef;
- # we just mounted it in order to do online resize but online resize failed:
- if (!$part->{isMounted}) {
- fs::mount::umount($dir);
- unlink($dir);
- }
+ }
+ # umount after online resize if it was mounted on demand:
+ if (!$part->{isMounted}) {
+ fs::mount::umount($dir);
+ unlink($dir);
}
} elsif ($nice_resize{f2fs}) {
run_program::run_or_die("resize.f2fs", devices::make($part->{device}));
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index f38d5270c..e638098ef 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -4,6 +4,7 @@
o enable to install on F2FS formated partitions
o enable to resize NILFS2
o enable to resize XFS during install
+ o fix online resizing not always umounting fs after resizing
- recognize new kernel 5.5 drivers
Version 18.24 - 15 March 2020