From 3d3edeb0186cc696d1749b4e61304cfd7b958bfb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 18 Sep 2008 14:21:00 +0000 Subject: - create cannotBeMountable() out of isNonMountable() - use it --- perl-install/fsedit.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index 95e5937c1..cd0292c69 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -550,7 +550,7 @@ sub change_type { delete $part->{device_UUID}; $hd->{isDirty} = 1; $part->{mntpoint} = '' if isSwap($part) && $part->{mntpoint} eq "swap"; - $part->{mntpoint} = '' if isRawLVM($type) || isRawRAID($type); + $part->{mntpoint} = '' if fs::type::cannotBeMountable($part); set_isFormatted($part, 0); fs::type::set_type_subpart($part, $type); fs::mount_options::rationalize($part); -- cgit v1.2.1