Commit b4779d08 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

fs: Device: Don't try to resolve a device through device mapper on android

parent 1b77e1f7
......@@ -209,11 +209,13 @@ Device::DeviceCacheMap Device::populateDeviceCache()
uuid = it->second;
else
{
#ifndef __ANDROID__
deviceName = deviceFromDeviceMapper( devicePath );
it = Devices.find( deviceName );
if ( it != end( Devices ) )
uuid = it->second;
else
#endif
{
LOG_ERROR( "Failed to resolve mountpoint ", mountpoint, " to any known device" );
continue;
......
Markdown is supported
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