From: David Lehman dlehman@redhat.com
--- blivet/devices/storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/devices/storage.py b/blivet/devices/storage.py index 69d5274..a54c32a 100644 --- a/blivet/devices/storage.py +++ b/blivet/devices/storage.py @@ -111,6 +111,7 @@ def __init__(self, name, fmt=None, uuid=None, # The size will be overridden by a call to updateSize at the end of this # method for existing and active devices. self._size = Size(util.numeric_type(size)) + self._targetSize = self._size self._currentSize = self._size if self.exists else Size(0) self.major = util.numeric_type(major) self.minor = util.numeric_type(minor) @@ -126,7 +127,6 @@ def __init__(self, name, fmt=None, uuid=None, self.format = fmt self.originalFormat = copy.deepcopy(self.format) self.fstabComment = "" - self._targetSize = self._size
self.deviceLinks = []