Also update allocated PE number when resizing LVM LVs.
This commit is contained in:
parent
3e31ec1431
commit
fe27ca6f29
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue