LVM support #6

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

View File

@ -47,8 +47,8 @@ LvmDevice::LvmDevice(const QString& name, const QString& iconname)
{
m_peSize = logicalSize();
m_totalPE = totalLogical();
m_allocPE = getAllocatedPE(name);
m_freePE = totalLogical() - m_allocPE;
m_freePE = getFreePE(name);
m_allocPE = m_totalPE - m_freePE;
m_UUID = getUUID(name);
initPartitions();