From fdf6e19de0ce8cb67a61ebdb784c363d84d1b1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 10 Dec 2017 19:56:04 +0000 Subject: [PATCH] Remove another workaround which hopefully is no longer necessary. --- src/jobs/checkfilesystemjob.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/jobs/checkfilesystemjob.cpp b/src/jobs/checkfilesystemjob.cpp index 866de6a..55110f2 100644 --- a/src/jobs/checkfilesystemjob.cpp +++ b/src/jobs/checkfilesystemjob.cpp @@ -48,15 +48,6 @@ bool CheckFileSystemJob::run(Report& parent) if (partition().fileSystem().supportCheck() == FileSystem::cmdSupportFileSystem) rval = partition().fileSystem().check(*report, partition().deviceNode()); - // HACK - // In rare cases after moving file system to a new location file system check - // fails on the first try. As a temporary workaround, wait a bit and try again. - if (!rval) { - QThread::sleep(2); - qDebug() << "Partition might not be ready yet. Retrying..."; - rval = partition().fileSystem().check(*report, partition().deviceNode()); - } - jobFinished(*report, rval); return rval;