Commit d953fe34 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

FsHolder: Reindent after last change

parent 30f9259d
......@@ -167,22 +167,22 @@ void FsHolder::startFsFactoriesAndRefresh()
return;
{
std::lock_guard<compat::Mutex> lock( m_mutex );
std::lock_guard<compat::Mutex> lock( m_mutex );
for ( const auto& fsFactory : m_fsFactories )
{
/*
* We only want to start the fs factory if it is a local one, or if
* it's a network one and network discovery is enabled
*/
if ( m_networkDiscoveryEnabled == true ||
fsFactory->isNetworkFileSystem() == false )
for ( const auto& fsFactory : m_fsFactories )
{
fsFactory->start( this );
fsFactory->refreshDevices();
/*
* We only want to start the fs factory if it is a local one, or if
* it's a network one and network discovery is enabled
*/
if ( m_networkDiscoveryEnabled == true ||
fsFactory->isNetworkFileSystem() == false )
{
fsFactory->start( this );
fsFactory->refreshDevices();
}
}
}
}
std::lock_guard<compat::Mutex> lock{ m_cbMutex };
auto devices = Device::fetchAll( m_ml );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment