On 5/7/2018 1:55 PM, Phillip Susi wrote:
> Resizepart has to change the PedDisk to see if there are any problems
> in doing so, then gives the warning about shirnking the partition.
> If the user answers No ( do not change ), it did not commit the
> changes to disk, but did keep them around in memory, so they could
> later be committed by another command.  Fix it to discard the modified
> PedDisk.

Well nevermind.  It seems that this patch isn't needed since when the
command returns a failure code, the ui loop discards the disk object.
Took me a few minutes to figure out why I couldn't get the new test case
to fail with the old code.



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to