[partition] Remove overly-chatty debugging from fs-name-lookup

This commit is contained in:
Adriaan de Groot 2021-03-29 14:38:39 +02:00
parent 7b09344a8b
commit 0446f03613

View File

@ -481,7 +481,6 @@ findFS( QString fsName, FileSystem::Type* fsType )
FileSystem::Type tmpType = FileSystem::typeForName( fsName, fsLanguage );
if ( tmpType != FileSystem::Unknown )
{
cDebug() << "Found filesystem" << fsName;
if ( fsType )
{
*fsType = tmpType;
@ -496,7 +495,6 @@ findFS( QString fsName, FileSystem::Type* fsType )
if ( 0 == QString::compare( fsName, FileSystem::nameForType( t, fsLanguage ), Qt::CaseInsensitive ) )
{
QString fsRealName = FileSystem::nameForType( t, fsLanguage );
cDebug() << "Filesystem name" << fsName << "translated to" << fsRealName;
if ( fsType )
{
*fsType = t;
@ -505,7 +503,7 @@ findFS( QString fsName, FileSystem::Type* fsType )
}
}
cDebug() << "Filesystem" << fsName << "not found, using ext4";
cWarning() << "Filesystem" << fsName << "not found, using ext4";
fsName = QStringLiteral( "ext4" );
// fsType can be used to check whether fsName was a valid filesystem.
if ( fsType )