Re: [PATCH][rhel6][master] Don't resize lv's formatting unless also resizing the lv. (#575046)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack.

On 06/29/2010 12:55 AM, David Lehman wrote:
---
  iw/lvm_dialog_gui.py |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 82d9dae..fe8dfc4 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -1173,6 +1173,7 @@ class VolumeGroupEditor:
                      # encrypted. in this case we must check them both.
                      if format.resizable and lv.format.resizable and \
                              lv.targetSize != format.targetSize and \
+                            lv.targetSize != lv.currentSize and \
                              usedev.format.exists:
                          log.debug("resizing format on %s to %d" % (usedev.lvname, lv.targetSize))
                          actions.append(ActionResizeFormat(usedev, lv.targetSize))

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux