[PATCH 6/6] Lack of formatting does not preclude device resize.
David Lehman
dlehman at redhat.com
Tue Jul 16 17:11:31 UTC 2013
---
blivet/devices.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/blivet/devices.py b/blivet/devices.py
index 105d9d9..cae4b6a 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -653,7 +653,8 @@ class StorageDevice(Device):
@property
def resizable(self):
""" Can this type of device be resized? """
- return (self._resizable and self.exists and self.format.resizable)
+ return (self._resizable and self.exists and
+ (self.format.type is None or self.format.resizable))
def notifyKernel(self):
""" Send a 'change' uevent to the kernel for this device. """
--
1.8.1.4
More information about the anaconda-patches
mailing list