Also update allocated PE number when resizing LVM LVs.

This commit is contained in:
Andrius Štikonas 2018-10-14 01:11:57 +01:00
parent 3e31ec1431
commit fe27ca6f29
1 changed files with 1 additions and 0 deletions

View File

@ -548,6 +548,7 @@ qint64 LvmDevice::freePE() const
void LvmDevice::setFreePE(qint64 freePE) const
{
d_ptr->m_freePE = freePE;
d_ptr->m_allocPE = d_ptr->m_totalPE - freePE;
}
QString LvmDevice::UUID() const