Remove another workaround which hopefully is no longer necessary.

This commit is contained in:
Andrius Štikonas 2017-12-10 19:56:04 +00:00
parent 8264c87ab8
commit fdf6e19de0
1 changed files with 0 additions and 9 deletions

View File

@ -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;