Revert "Remove LVM LV formatted as LVM PV partition from the PV list when resizing LVM VG if it belongs to the same VG."
This reverts commit 6e6f41b209
.
This commit is contained in:
parent
6e6f41b209
commit
d2b3f7344a
|
@ -56,7 +56,7 @@ void ResizeVolumeGroupDialog::setupDialog()
|
|||
continue;
|
||||
if (p.vgName() == device()->name())
|
||||
dialogWidget().listPV().addPartition(*p.partition(), true);
|
||||
else if (p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition()) && targetName() != device()->name())
|
||||
else if (p.vgName() == QString() && !LvmDevice::s_DirtyPVs.contains(p.partition())) // TODO: Remove LVM PVs in current VG
|
||||
dialogWidget().listPV().addPartition(*p.partition(), false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue