[partition] [fsresizer] Adjust to new #define

- Using KPMCORE4API is clearer than just relying on a version number
This commit is contained in:
Adriaan de Groot 2019-04-12 11:21:18 +02:00
parent 9159761171
commit c0710cabe4
6 changed files with 9 additions and 9 deletions

View file

@ -683,7 +683,7 @@ PartitionCoreModule::scanForLVMPVs()
}
}
#ifdef WITH_KPMCOREGT33
#ifdef WITH_KPMCORE4API
VolumeManagerDevice::scanDevices( physicalDevices );
for ( auto p : LVM::pvList::list() )
@ -724,7 +724,7 @@ PartitionCoreModule::scanForLVMPVs()
if ( innerFS && innerFS->type() == FileSystem::Type::Lvm2_PV )
m_lvmPVs << p;
}
#ifdef WITH_KPMCOREGT33
#ifdef WITH_KPMCORE4API
else if ( p->fileSystem().type() == FileSystem::Type::Luks2 )
{
// Encrypted LVM PVs