Use the detected FS type directly.
This commit is contained in:
parent
a1026d20be
commit
1cb464c6b0
|
@ -352,7 +352,7 @@ void LibPartedBackend::scanDevicePartitions(PedDevice*, Device& d, PedDisk* pedD
|
||||||
// libparted does not handle LUKS partitions
|
// libparted does not handle LUKS partitions
|
||||||
QString mountPoint;
|
QString mountPoint;
|
||||||
bool mounted = false;
|
bool mounted = false;
|
||||||
if (fs->type() == FileSystem::Luks) {
|
if (type == FileSystem::Luks) {
|
||||||
r |= PartitionRole::Luks;
|
r |= PartitionRole::Luks;
|
||||||
FS::luks* luksFs = dynamic_cast<FS::luks*>(fs);
|
FS::luks* luksFs = dynamic_cast<FS::luks*>(fs);
|
||||||
QString mapperNode = FS::luks::mapperName(node);
|
QString mapperNode = FS::luks::mapperName(node);
|
||||||
|
|
Loading…
Reference in New Issue