diff options
author | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-16 13:34:02 +0200 |
---|---|---|
committer | Ales Kozumplik <akozumpl@redhat.com> | 2010-04-22 09:13:01 +0200 |
commit | 2ca93120452b7539e7eb4e56abe422aaee7a7ff4 (patch) | |
tree | 850bb20e9f85dd2651e67f1aa684d0e5442838ee /storage | |
parent | e9d7118f4eb0ff290ae25ac4e1bce733d649b30f (diff) | |
download | anaconda-2ca93120452b7539e7eb4e56abe422aaee7a7ff4.tar.gz anaconda-2ca93120452b7539e7eb4e56abe422aaee7a7ff4.tar.xz anaconda-2ca93120452b7539e7eb4e56abe422aaee7a7ff4.zip |
lvm: check resizing against format's targetSize (#580171).
lv.format.currentSize remains on the original value all the time. This
means that when the user resizes the LV once, currentSize stays the same
and the test for change in lvm_dialog_gui.py always succeeds every time
the user reopens the LV edit dialog. This causes a traceback just below,
in ActionResizeFormat.
Diffstat (limited to 'storage')
-rw-r--r-- | storage/formats/fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index aa645d3b7..737747144 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -189,7 +189,7 @@ class FS(DeviceFormat): if newsize is None: # unset any outstanding resize request - self._targetSize = None + self._targetSize = self._size return if not self.minSize <= newsize < self.maxSize: |