LVM support #6

Closed
andrius wants to merge 109 commits from (deleted):lvm-support-rebase into master
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 7851d9e93b - Show all commits

View File

@ -386,10 +386,10 @@ qint64 PartitionTable::defaultFirstUsable(const Device& d, TableType t)
Q_UNUSED(t)
if (d.type() == Device::LVM_Device) {
return 0;
} else {
const DiskDevice& diskDevice = dynamic_cast<const DiskDevice&>(d);
return PartitionAlignment::sectorAlignment(diskDevice);
}
const DiskDevice& diskDevice = dynamic_cast<const DiskDevice&>(d);
return PartitionAlignment::sectorAlignment(diskDevice);
}
qint64 PartitionTable::defaultLastUsable(const Device& d, TableType t)