[PATCH 1/2] Don't allow resize of devices with no/unrecognized formatting. (#869841)
David Lehman
dlehman at redhat.com
Wed Dec 12 20:25:06 UTC 2012
---
pyanaconda/storage/devices.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 90956f4..07387c4 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -650,8 +650,7 @@ class StorageDevice(Device):
@property
def resizable(self):
""" Can this type of device be resized? """
- return (self._resizable and self.exists and
- (self.format.resizable or not self.format.type))
+ return (self._resizable and self.exists and self.format.resizable)
def notifyKernel(self):
""" Send a 'change' uevent to the kernel for this device. """
--
1.7.7.6
More information about the anaconda-patches
mailing list