[PATCH 1/3] Thinp metadata and chunk size default to 0 -- not None. (#1004718)
David Lehman
dlehman at redhat.com
Fri Sep 6 18:04:07 UTC 2013
---
blivet/devices.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blivet/devices.py b/blivet/devices.py
index 3b567ec..6650086 100644
--- a/blivet/devices.py
+++ b/blivet/devices.py
@@ -2828,8 +2828,8 @@ class LVMThinPoolDevice(LVMLogicalVolumeDevice):
maxsize=maxsize,
percent=percent)
- self.metaDataSize = metadatasize
- self.chunkSize = chunksize
+ self.metaDataSize = metadatasize or 0
+ self.chunkSize = chunksize or 0
self._lvs = []
def _addLogVol(self, lv):
--
1.8.1.4
More information about the anaconda-patches
mailing list