From 2eba0d7dcd799c3e220dcb4ee22b43b88baec16f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 16 Apr 2020 03:40:17 +0200 Subject: Move disabling fsck back into part_raw() It's more logical. It had been moved to preserve_UUID_after_format() when it got split in commit 01c03167421615cbfbe6c6f626fed22ac6e0992c --- perl-install/fs/format.pm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'perl-install/fs') 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) -- cgit v1.2.1