summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index e3cc830f0..b389d2984 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -750,8 +750,7 @@ sub mount {
my $err = $?;
die "fsck.jfs failed" if $err & 0xfc00;
};
- } elsif ($fs eq 'ext2' || $fs eq 'ext3' && $::isInstall && !$::o->{isUpgrade}) {
- if (!$b_rdonly) {
+ } elsif ($fs eq 'ext2' && !$b_rdonly) {
$o_wait_message->(N("Checking %s", $dev)) if $o_wait_message;
foreach ('-a', '-y') {
run_program::raw({ timeout => 60 * 60 }, "fsck.ext2", $_, $dev);
@@ -766,9 +765,6 @@ sub mount {
last;
}
}
- }
- # really mount as ext2 during install for speed up
- $fs = 'ext2';
}
if (member($fs, @fs_modules)) {
eval { modules::load($fs) };