summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/format.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 9ca2ec754..13d318cc0 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -289,6 +289,11 @@ sub part_raw {
delete $part->{device_LABEL_changed};
preserve_UUID_after_format($dev, $part, $fs_type);
+
+ if (member($fs_type, qw(ext3 ext4))) {
+ disable_forced_fsck($dev);
+ }
+
after_formatting($part);
}
@@ -306,10 +311,6 @@ sub preserve_UUID_after_format {
} elsif ($fs_type eq 'btrfs' && $part->{device_UUID}) {
write_btrfs_uuid($part->{device_UUID}, $dev);
}
-
- if (member($fs_type, qw(ext3 ext4))) {
- disable_forced_fsck($dev);
- }
}
=item after_formatting($part)